HHH-10533 - Fix ORM tries to create a unique constraint on a non existing table
This commit is contained in:
parent
dc07f44629
commit
d65445194d
|
@ -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() ) {
|
||||
|
|
Loading…
Reference in New Issue