use of org.hibernate.tool.schema.internal.DefaultSchemaFilter in project hibernate-orm by hibernate.
the class SequenceFilterTest method createSchema_unfiltered.
@Test
public void createSchema_unfiltered() {
RecordingTarget target = doCreation(new DefaultSchemaFilter());
Assert.assertThat(target.getActions(RecordingTarget.Category.SEQUENCE_CREATE), containsExactly("entity_1_seq_gen", "entity_2_seq_gen"));
}
use of org.hibernate.tool.schema.internal.DefaultSchemaFilter in project hibernate-orm by hibernate.
the class SequenceFilterTest method dropSchema_unfiltered.
@Test
public void dropSchema_unfiltered() {
RecordingTarget target = doDrop(new DefaultSchemaFilter());
Assert.assertThat(target.getActions(RecordingTarget.Category.SEQUENCE_DROP), containsExactly("entity_1_seq_gen", "entity_2_seq_gen"));
}
Aggregations