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() ) {
|
for ( Table table : namespace.getTables() ) {
|
||||||
|
if ( !table.isPhysicalTable() ){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if ( !schemaFilter.includeTable( table ) ) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
// indexes
|
// indexes
|
||||||
final Iterator indexItr = table.getIndexIterator();
|
final Iterator indexItr = table.getIndexIterator();
|
||||||
while ( indexItr.hasNext() ) {
|
while ( indexItr.hasNext() ) {
|
||||||
|
|
Loading…
Reference in New Issue