code: public void createGenerator (Connection conn, String tableName, String columnName, int initValue)
          throws SQLException
      {
          if (initValue == 1) {
              return; // that's the default! yay, do nothing
          }
  
          String seqname = "\"" + tableName + "_" + columnName + "_seq\"";
          Statement stmt = conn.createStatement();
          try {
              stmt.executeQuery("select setval('" + seqname + "', " + initValue + ", false)");
          } finally {
              JDBCUtil.close(stmt);
          }
          log("Initial value of " + seqname  + " set to " + initValue + ".");
      }
docs: from DatabaseLiaison