HHH-11030 - InformationExtractorJdbcDatabaseMetaDataImpl getTable method wrong default namespace lookup

This commit is contained in:
Andrea Boriero 2016-08-10 12:18:58 +02:00
parent f0fa15b247
commit 4c79b4fa50
1 changed files with 2 additions and 2 deletions

View File

@ -251,8 +251,8 @@ public class InformationExtractorJdbcDatabaseMetaDataImpl implements Information
// 2) look in default namespace
if ( extractionContext.getDefaultCatalog() != null || extractionContext.getDefaultSchema() != null ) {
tableInfo = locateTableInNamespace(
extractionContext.getJdbcEnvironment().getCurrentCatalog(),
extractionContext.getJdbcEnvironment().getCurrentSchema(),
extractionContext.getDefaultCatalog(),
extractionContext.getDefaultSchema(),
tableName
);