diff --git a/hibernate-core/src/test/java/org/hibernate/jpa/test/criteria/nulliteral/CriteriaLiteralInSelectExpressionTest.java b/hibernate-core/src/test/java/org/hibernate/jpa/test/criteria/nulliteral/CriteriaLiteralInSelectExpressionTest.java index 36b8cbeaf5..f71d65dc6f 100644 --- a/hibernate-core/src/test/java/org/hibernate/jpa/test/criteria/nulliteral/CriteriaLiteralInSelectExpressionTest.java +++ b/hibernate-core/src/test/java/org/hibernate/jpa/test/criteria/nulliteral/CriteriaLiteralInSelectExpressionTest.java @@ -20,11 +20,16 @@ import javax.persistence.criteria.Root; import java.io.Serializable; import java.util.List; +import org.hibernate.dialect.DB2Dialect; +import org.hibernate.dialect.Oracle8iDialect; +import org.hibernate.dialect.SQLServerDialect; +import org.hibernate.dialect.SybaseDialect; import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase; import org.junit.Before; import org.junit.Test; +import org.hibernate.testing.SkipForDialect; import org.hibernate.testing.TestForIssue; import static org.hamcrest.CoreMatchers.is; @@ -194,6 +199,12 @@ public class CriteriaLiteralInSelectExpressionTest extends BaseEntityManagerFunc @Test @TestForIssue(jiraKey = "HHH-9021") + @SkipForDialect( value= { + Oracle8iDialect.class, + DB2Dialect.class, + SQLServerDialect.class, + SybaseDialect.class + }) public void testStringLiteral2() { final EntityManager entityManager = getOrCreateEntityManager(); try {