HHH-11177 - Duplicate queries during startup

(cherry picked from commit 3e5025ac10)
This commit is contained in:
Andrea Boriero 2016-10-17 23:24:24 +01:00 committed by Gail Badner
parent 608ab56c6d
commit d37f7e3bb4
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,6 @@ public class InformationExtractorJdbcDatabaseMetaDataImpl implements Information
isPhysicalTableType( resultSet.getString( "TABLE_TYPE" ) ), isPhysicalTableType( resultSet.getString( "TABLE_TYPE" ) ),
resultSet.getString( "REMARKS" ) resultSet.getString( "REMARKS" )
); );
addColumns( tableInformation );
return tableInformation; return tableInformation;
} }
@ -495,6 +494,7 @@ public class InformationExtractorJdbcDatabaseMetaDataImpl implements Information
else { else {
found = true; found = true;
tableInformation = extractTableInformation( resultSet ); tableInformation = extractTableInformation( resultSet );
addColumns( tableInformation );
} }
} }
} }