for (String tableType : TABLE_TYPES) {
records.add(new ODocument().field("TABLE_TYPE", tableType));
}
<BUG>ResultSet result = new OrientJdbcResultSet(stmt, records, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY,
ResultSet.HOLD_CURSORS_OVER_COMMIT);
return result;</BUG>
}
public ResultSet getColumns(final String catalog, final String schemaPattern, final String tableNamePattern,
<BUG>final String columnNamePattern) throws SQLException {
final List<ODocument> records = new ArrayList<ODocument>();</BUG>
final OClass clazz = database.getMetadata().getSchema().getClass(tableNamePattern);

for (String tableType : TABLE_TYPES) {
records.add(new ODocument().field("TABLE_TYPE", tableType));
}
return new OrientJdbcResultSet(new OrientJdbcStatement(connection), records, ResultSet.TYPE_FORWARD_ONLY,
ResultSet.CONCUR_READ_ONLY,
ResultSet.HOLD_CURSORS_OVER_COMMIT);
}
public ResultSet getColumns(final String catalog, final String schemaPattern, final String tableNamePattern,
final String columnNamePattern) throws SQLException {
database.activateOnCurrentThread();
final List<ODocument> records = new ArrayList<ODocument>();
final OClass clazz = database.getMetadata().getSchema().getClass(tableNamePattern);
