public class CUBRIDDatabase extends AbstractDatabase {
@Override
protected void loadPrimaryKeys(DefaultRelations relations) throws SQLException {
for (Record record : fetchKeys(DB_INDEX.IS_UNIQUE.isTrue().and(DB_INDEX.IS_PRIMARY_KEY.isFalse()))) {
SchemaDefinition schema = getSchema(record.getValue(DB_CLASS.OWNER_NAME));
String key = record.getValue("constraint_name", String.class);
String tableName = record.getValue(DB_CLASS.CLASS_NAME);
String columnName = record.getValue(DB_INDEX_KEY.KEY_ATTR_NAME);
TableDefinition table = getTable(schema, tableName);