Oracle database dbDoc generation performance issues

Description

OracleDatabase uses catalogName variable to represent schemaName, ((JdbcConnection) database.getConnection()).getMetaData().getSchemas() jdbc driver query returns TABLE_CATALOG = null and TABLE_SCHEM=%correct schema%. As a result OracleDatabase.getJdbcSchemaName returns null (even if actual schema name is not null) and ForeignKeySnapshotGenerator processes all schemas in database. This issue can be fixed by modifying OracleDatabase schema getter (see attached patch).

Environment

Oracle 11g database

Reporter

Anton Zukovskij

Components

Fix versions

Affects versions

Priority

Major
Configure