code: public static GlobalParameter create(DbConn cnx, String key, String value)
      {
          QueryResult r = cnx.runUpdate("globalprm_insert", key, value);
          GlobalParameter res = new GlobalParameter();
          res.id = r.getGeneratedId();
          res.key = key;
          res.value = value;
          return res;
      }
docs: Create a new GP entry in the database. No commit performed.