We're updating the issue view to help you get more done. 

InformationExtractorJdbcDatabaseMetaDataImpl getTable method wrong default namespace lookup

Description

1 2 3 4 5 6 7 8 9 10 11 // 2) look in default namespace if ( extractionContext.getDefaultCatalog() != null || extractionContext.getDefaultSchema() != null ) { tableInfo = locateTableInNamespace( extractionContext.getJdbcEnvironment().getCurrentCatalog(), extractionContext.getJdbcEnvironment().getCurrentSchema(), tableName ); if ( tableInfo != null ) { return tableInfo; } }

the locateTableInNamespace method parameters extractionContext.getJdbcEnvironment().getCurrentCatalog() and extractionContext.getJdbcEnvironment().getCurrentSchema() are wrong

Environment

None

Status

Assignee

Andrea Boriero

Reporter

Andrea Boriero

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.2.2
5.1.0
5.0.10

Priority

Major