HHH-10533 - Fix ORM tries to create a unique constraint on a non existing table

This commit is contained in:
Andrea Boriero 2016-02-26 12:40:20 +00:00
parent dc07f44629
commit d65445194d
1 changed files with 6 additions and 2 deletions

View File

@ -316,9 +316,13 @@ public class SchemaCreatorImpl implements SchemaCreator {
}
for ( Table table : namespace.getTables() ) {
if ( !table.isPhysicalTable() ){
continue;
}
if ( !schemaFilter.includeTable( table ) ) {
continue;
}
// indexes
final Iterator indexItr = table.getIndexIterator();
while ( indexItr.hasNext() ) {