From 66d9859813c4c7aea5797c19f3b577fba34721de Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Tue, 16 Oct 2018 19:23:41 +0200 Subject: [PATCH] HHH-12935 Require sequence support in ExportIdentifierTests --- .../hibernate/test/schemaupdate/ExportIdentifierTest.java | 5 +++-- .../hibernate/envers/test/various/ExportIdentifierTest.java | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) 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