<CONTEXT>records.add(new ODocument().field("TABLE_SCHEM", database.getName()).field("TABLE_CATALOG", database.getName()));</BUG>return new OrientJdbcResultSet(new OrientJdbcStatement(connection), records, ResultSet.TYPE_FORWARD_ONLY,ResultSet.CONCUR_READ_ONLY, ResultSet.HOLD_CURSORS_OVER_COMMIT);}<extra_id_0>return new OrientJdbcResultSet(new OrientJdbcStatement(connection), records, ResultSet.TYPE_FORWARD_ONLY,ResultSet.CONCUR_READ_ONLY, ResultSet.HOLD_CURSORS_OVER_COMMIT);}<BUG>public ResultSet getCatalogs() throws SQLException {final List<ODocument> records = new ArrayList<ODocument>();</BUG>records.add(new ODocument().field("TABLE_CAT", database.getName()));return new OrientJdbcResultSet(new OrientJdbcStatement(connection), records, ResultSet.TYPE_FORWARD_ONLY,ResultSet.CONCUR_READ_ONLY, ResultSet.HOLD_CURSORS_OVER_COMMIT);</CONTEXT>
@Overridepublic ResultSet getSchemas() throws SQLException {database.activateOnCurrentThread();final List<ODocument> records = new ArrayList<ODocument>();records.add(new ODocument().field("TABLE_CATALOG", database.getName()));