HHH-11330 : Skip IdentifierGeneratorWithNaturalIdCacheTest on dialects that do not support identity columns

(cherry picked from commit 87fe30b83b)
This commit is contained in:
Gail Badner 2016-12-12 19:16:14 -08:00
parent bffc4b1708
commit 9aaf0cd7c4
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,8 @@ import org.hibernate.cfg.AvailableSettings;
import org.hibernate.cfg.Configuration; import org.hibernate.cfg.Configuration;
import org.hibernate.cfg.Environment; import org.hibernate.cfg.Environment;
import org.hibernate.testing.DialectChecks;
import org.hibernate.testing.RequiresDialectFeature;
import org.hibernate.testing.TestForIssue; import org.hibernate.testing.TestForIssue;
import org.hibernate.testing.cache.CachingRegionFactory; import org.hibernate.testing.cache.CachingRegionFactory;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase; import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
@ -30,6 +32,7 @@ import static org.junit.Assert.assertEquals;
/** /**
* @author Alex Burgel * @author Alex Burgel
*/ */
@RequiresDialectFeature( value = DialectChecks.SupportsIdentityColumns.class, jiraKey = "HHH-11330")
public class IdentifierGeneratorWithNaturalIdCacheTest public class IdentifierGeneratorWithNaturalIdCacheTest
extends BaseCoreFunctionalTestCase { extends BaseCoreFunctionalTestCase {