Skip to content

Commit f3217f6

Browse files
committed
skip tests on Informix
1 parent 4b90847 commit f3217f6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/ParameterTest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@
77
import java.util.Arrays;
88
import java.util.List;
99

10+
import org.hibernate.community.dialect.InformixDialect;
1011
import org.hibernate.testing.jdbc.SharedDriverManagerTypeCacheClearingIntegrator;
1112
import org.hibernate.testing.orm.junit.BootstrapServiceRegistry;
1213
import org.hibernate.testing.orm.junit.DomainModel;
1314
import org.hibernate.testing.orm.junit.JiraKey;
1415
import org.hibernate.testing.orm.junit.SessionFactory;
1516
import org.hibernate.testing.orm.junit.SessionFactoryScope;
1617

18+
import org.hibernate.testing.orm.junit.SkipForDialect;
1719
import org.junit.jupiter.api.Test;
1820

1921
import jakarta.persistence.Parameter;
@@ -40,6 +42,8 @@
4042
public class ParameterTest {
4143

4244
@Test
45+
@SkipForDialect(dialectClass = InformixDialect.class,
46+
reason = "Blobs are not allowed in this expression")
4347
public void testPrimitiveArrayParameterBinding(SessionFactoryScope scope) {
4448
scope.inTransaction( em -> {
4549
CriteriaQuery<MultiTypedBasicAttributesEntity> criteria = em.getCriteriaBuilder()
@@ -56,6 +60,8 @@ public void testPrimitiveArrayParameterBinding(SessionFactoryScope scope) {
5660
}
5761

5862
@Test
63+
@SkipForDialect(dialectClass = InformixDialect.class,
64+
reason = "Blobs are not allowed in this expression")
5965
public void testNonPrimitiveArrayParameterBinding(SessionFactoryScope scope) {
6066
scope.inTransaction( em -> {
6167
CriteriaQuery<MultiTypedBasicAttributesEntity> criteria = em.getCriteriaBuilder()
@@ -136,6 +142,8 @@ public void testParameterInParameterList2(SessionFactoryScope scope) {
136142

137143
@Test
138144
@JiraKey("HHH-17912")
145+
@SkipForDialect(dialectClass = InformixDialect.class,
146+
reason = "Blobs are not allowed in this expression")
139147
public void testAttributeEqualListParameter(SessionFactoryScope scope) {
140148
scope.inTransaction( em -> {
141149
final CriteriaBuilder criteriaBuilder = em.getCriteriaBuilder();

0 commit comments

Comments
 (0)