code: @Override
      public long getNewId(final ConnectionResource _con,
                           final String _table,
                           final String _column)
          throws SQLException
      {
  
          long ret = 0;
          final Statement stmt = _con.createStatement();
  
          try {
              final StringBuilder cmd = new StringBuilder();
              cmd.append("select nextval('").append(_table).append("_").append(_column).append("_SEQ')");
  
              final ResultSet rs = stmt.executeQuery(cmd.toString());
              if (rs.next()) {
                  ret = rs.getLong(1);
              }
              rs.close();
          } finally {
              stmt.close();
          }
          return ret;
      }
docs: A new id for given column of a SQL table is returned (with sequences!).
  The method must be implemented because the JDBC driver from PostgreSQL
  does not support that the generated ID of a new table row is returned
  while the row is inserted.
  
  @param _con      sql connection
  @param _table    sql table for which a new id must returned
  @param _column   sql table column for which a new id must returned
  @throws SQLException if a new id could not be retrieved
  @return new id for the sequence