HHH-10820 - Fix InformationExtractorJdbcDatabaseMetaDataImpl quoted table names
This commit is contained in:
parent
c713c56f6c
commit
3d74c45e1d
|
@ -362,7 +362,7 @@ public class InformationExtractorJdbcDatabaseMetaDataImpl implements Information
|
||||||
boolean found = false;
|
boolean found = false;
|
||||||
TableInformation tableInformation = null;
|
TableInformation tableInformation = null;
|
||||||
while ( resultSet.next() ) {
|
while ( resultSet.next() ) {
|
||||||
if ( tableName.equals( identifierHelper().toIdentifier( resultSet.getString( "TABLE_NAME" ) ) ) ) {
|
if ( tableName.equals( identifierHelper().toIdentifier( resultSet.getString( "TABLE_NAME" ), tableName.isQuoted() ) ) ) {
|
||||||
if ( found ) {
|
if ( found ) {
|
||||||
log.multipleTablesFound( tableName.render() );
|
log.multipleTablesFound( tableName.render() );
|
||||||
final String catalogName = catalog == null ? "" : catalog.render();
|
final String catalogName = catalog == null ? "" : catalog.render();
|
||||||
|
|
Loading…
Reference in New Issue