code: public static void addBatch(PreparedStatement ps, Object... parameters) {
          new DB(DB.DEFAULT_NAME).addBatch(ps, parameters);
      }
docs: Adds a batch statement using given <code>java.sql.PreparedStatement</code> and parameters.
  @param ps <code>java.sql.PreparedStatement</code> to add batch to.
  @param parameters parameters for the query in <code>java.sql.PreparedStatement</code>. Parameters will be
  set on the statement in the same order as provided here.