HHH-11030 - InformationExtractorJdbcDatabaseMetaDataImpl getTable method wrong default namespace lookup
This commit is contained in:
parent
f0fa15b247
commit
4c79b4fa50
|
@ -251,8 +251,8 @@ public class InformationExtractorJdbcDatabaseMetaDataImpl implements Information
|
||||||
// 2) look in default namespace
|
// 2) look in default namespace
|
||||||
if ( extractionContext.getDefaultCatalog() != null || extractionContext.getDefaultSchema() != null ) {
|
if ( extractionContext.getDefaultCatalog() != null || extractionContext.getDefaultSchema() != null ) {
|
||||||
tableInfo = locateTableInNamespace(
|
tableInfo = locateTableInNamespace(
|
||||||
extractionContext.getJdbcEnvironment().getCurrentCatalog(),
|
extractionContext.getDefaultCatalog(),
|
||||||
extractionContext.getJdbcEnvironment().getCurrentSchema(),
|
extractionContext.getDefaultSchema(),
|
||||||
tableName
|
tableName
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue