From 8f520e112618e839bf10b6451b4445d4da1a43e5 Mon Sep 17 00:00:00 2001 From: Strong Liu Date: Sat, 1 Oct 2011 02:33:46 +0800 Subject: [PATCH] HHH-6704 POSTGRESQL test failures --- .../matrix/java/org/hibernate/test/legacy/CustomSQLTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hibernate-core/src/matrix/java/org/hibernate/test/legacy/CustomSQLTest.java b/hibernate-core/src/matrix/java/org/hibernate/test/legacy/CustomSQLTest.java index 38d34707c0..0b2196df3c 100644 --- a/hibernate-core/src/matrix/java/org/hibernate/test/legacy/CustomSQLTest.java +++ b/hibernate-core/src/matrix/java/org/hibernate/test/legacy/CustomSQLTest.java @@ -8,12 +8,14 @@ import java.util.List; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.dialect.Dialect; +import org.hibernate.dialect.PostgreSQLDialect; import org.hibernate.id.PostInsertIdentifierGenerator; import org.junit.Test; import org.hibernate.testing.DialectCheck; import org.hibernate.testing.RequiresDialectFeature; +import org.hibernate.testing.SkipForDialect; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotSame; @@ -38,6 +40,7 @@ public class CustomSQLTest extends LegacyTestCase { @Test @RequiresDialectFeature( NonIdentityGeneratorChecker.class ) + @SkipForDialect( value = PostgreSQLDialect.class, jiraKey = "HHH-6704") @SuppressWarnings( {"UnnecessaryBoxing"}) public void testInsert() throws HibernateException, SQLException { Session s = openSession();