mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-18 09:05:21 +00:00
HHH-14772 InformationExtractorJdbcDatabaseMetaDataImpl#getCurrentSchema() method returns currentCatalog if schema == null
This commit is contained in:
parent
f60d8bcd12
commit
c0041ba073
@ -325,7 +325,7 @@ private Identifier getCurrentSchema(JdbcEnvironment jdbcEnvironment) {
|
||||
log.sqlWarning( ignore.getErrorCode(), ignore.getSQLState() );
|
||||
}
|
||||
}
|
||||
return currentCatalog;
|
||||
return currentSchema;
|
||||
}
|
||||
|
||||
private Identifier getCurrentCatalog(JdbcEnvironment jdbcEnvironment) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user