code: public static DeploymentParameter create(DbConn cnx, Boolean enabled, Integer nodeId, Integer nbThread, Integer pollingInterval,
              Integer qId)
      {
          QueryResult r = cnx.runUpdate("dp_insert", enabled, nbThread, pollingInterval, nodeId, qId);
          DeploymentParameter res = new DeploymentParameter();
          res.id = r.getGeneratedId();
          res.node = nodeId;
          res.nbThread = nbThread;
          res.pollingInterval = pollingInterval;
          res.queue = qId;
  
          return res;
      }
docs: Create a new entry in the database. No commit performed.