code: public static Integer create(DbConn cnx, String name, String description, boolean defaultQ)
      {
          QueryResult r = cnx.runUpdate("q_insert", defaultQ, description, name);
          Queue res = new Queue();
          res.id = r.getGeneratedId();
          res.name = name;
          res.description = description;
          res.defaultQueue = defaultQ;
          return res.id;
      }
docs: Create a new entry in the database. No commit performed.