HHH-10820 - Fix InformationExtractorJdbcDatabaseMetaDataImpl quoted table names
This commit is contained in:
parent
3f51bdd254
commit
27447cf118
|
@ -364,7 +364,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