HHH-11177 - Duplicate queries during startup
(cherry picked from commit 3e5025ac10
)
This commit is contained in:
parent
608ab56c6d
commit
d37f7e3bb4
|
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue