HHH-10937 - The generation of the drop schema does not filter sequence with schemaFilter

This commit is contained in:
Andrea Boriero 2016-07-30 14:20:51 +02:00
parent a190d2f3eb
commit 73df331415
1 changed files with 3 additions and 0 deletions

View File

@ -242,6 +242,9 @@ public class SchemaDropperImpl implements SchemaDropper {
}
for ( Sequence sequence : namespace.getSequences() ) {
if ( !schemaFilter.includeSequence( sequence ) ) {
return;
}
checkExportIdentifier( sequence, exportIdentifiers );
applySqlStrings( dialect.getSequenceExporter().getSqlDropStrings( sequence, metadata ), formatter, options, targets );
}