From 9aaf0cd7c49f70b8c1e7b3588b5d146d068a33e6 Mon Sep 17 00:00:00 2001 From: Gail Badner Date: Mon, 12 Dec 2016 19:16:14 -0800 Subject: [PATCH] HHH-11330 : Skip IdentifierGeneratorWithNaturalIdCacheTest on dialects that do not support identity columns (cherry picked from commit 87fe30b83b0486265aa354c057b888d4903c01ed) --- .../immutable/IdentifierGeneratorWithNaturalIdCacheTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hibernate-core/src/test/java/org/hibernate/test/naturalid/immutable/IdentifierGeneratorWithNaturalIdCacheTest.java b/hibernate-core/src/test/java/org/hibernate/test/naturalid/immutable/IdentifierGeneratorWithNaturalIdCacheTest.java index 7dfd40f9da..4628c60580 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/naturalid/immutable/IdentifierGeneratorWithNaturalIdCacheTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/naturalid/immutable/IdentifierGeneratorWithNaturalIdCacheTest.java @@ -20,6 +20,8 @@ import org.hibernate.cfg.AvailableSettings; import org.hibernate.cfg.Configuration; import org.hibernate.cfg.Environment; +import org.hibernate.testing.DialectChecks; +import org.hibernate.testing.RequiresDialectFeature; import org.hibernate.testing.TestForIssue; import org.hibernate.testing.cache.CachingRegionFactory; import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase; @@ -30,6 +32,7 @@ import static org.junit.Assert.assertEquals; /** * @author Alex Burgel */ +@RequiresDialectFeature( value = DialectChecks.SupportsIdentityColumns.class, jiraKey = "HHH-11330") public class IdentifierGeneratorWithNaturalIdCacheTest extends BaseCoreFunctionalTestCase {