diff --git a/hibernate-core/src/test/java/org/hibernate/test/schemaupdate/ExportIdentifierTest.java b/hibernate-core/src/test/java/org/hibernate/test/schemaupdate/ExportIdentifierTest.java index eeb6ca8079..f592e95441 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/schemaupdate/ExportIdentifierTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/schemaupdate/ExportIdentifierTest.java @@ -28,13 +28,14 @@ import org.hibernate.mapping.Index; import org.hibernate.mapping.PrimaryKey; import org.hibernate.mapping.Table; import org.hibernate.mapping.UniqueKey; - - +import org.hibernate.testing.DialectChecks; +import org.hibernate.testing.RequiresDialectFeature; import org.hibernate.testing.TestForIssue; import org.junit.Test; import static org.junit.Assert.assertEquals; +@RequiresDialectFeature(DialectChecks.SupportsSequences.class) public class ExportIdentifierTest { @Test diff --git a/hibernate-envers/src/test/java/org/hibernate/envers/test/various/ExportIdentifierTest.java b/hibernate-envers/src/test/java/org/hibernate/envers/test/various/ExportIdentifierTest.java index 9aaa80f863..5944c9960b 100644 --- a/hibernate-envers/src/test/java/org/hibernate/envers/test/various/ExportIdentifierTest.java +++ b/hibernate-envers/src/test/java/org/hibernate/envers/test/various/ExportIdentifierTest.java @@ -19,12 +19,14 @@ import org.hibernate.boot.registry.StandardServiceRegistryBuilder; import org.hibernate.boot.spi.MetadataBuildingOptions; import org.hibernate.engine.jdbc.env.spi.JdbcEnvironment; import org.hibernate.id.enhanced.SequenceStructure; - +import org.hibernate.testing.DialectChecks; +import org.hibernate.testing.RequiresDialectFeature; import org.hibernate.testing.TestForIssue; import org.junit.Test; import static org.junit.Assert.assertEquals; +@RequiresDialectFeature(DialectChecks.SupportsSequences.class) public class ExportIdentifierTest { @Test