Skip to content

Commit 526af6b

Browse files
committed
disable tests on Informix
1 parent 946e6b8 commit 526af6b

14 files changed

+28
-0
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/type/BasicListTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ public void testQueryById(SessionFactoryScope scope) {
108108
}
109109

110110
@Test
111+
@SkipForDialect(dialectClass = InformixDialect.class,
112+
reason = "The statement failed because binary large objects are not allowed in the Union, Intersect, or Minus ")
111113
public void testQuery(SessionFactoryScope scope) {
112114
scope.inSession( em -> {
113115
TypedQuery<TableWithIntegerList> tq = em.createNamedQuery( "TableWithIntegerList.JPQL.getByData", TableWithIntegerList.class );

hibernate-core/src/test/java/org/hibernate/orm/test/type/BasicSortedSetTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ public void testQueryById(SessionFactoryScope scope) {
109109
}
110110

111111
@Test
112+
@SkipForDialect(dialectClass = InformixDialect.class,
113+
reason = "The statement failed because binary large objects are not allowed in the Union, Intersect, or Minus ")
112114
public void testQuery(SessionFactoryScope scope) {
113115
scope.inSession( em -> {
114116
TypedQuery<TableWithIntegerSortedSet> tq = em.createNamedQuery( "TableWithIntegerSortedSet.JPQL.getByData", TableWithIntegerSortedSet.class );

hibernate-core/src/test/java/org/hibernate/orm/test/type/BooleanArrayTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ public void testQueryById(SessionFactoryScope scope) {
114114

115115
@Test
116116
@SkipForDialect( dialectClass = OracleDialect.class, reason = "External driver fix required")
117+
@SkipForDialect(dialectClass = InformixDialect.class,
118+
reason = "The statement failed because binary large objects are not allowed in the Union, Intersect, or Minus ")
117119
public void testQuery(SessionFactoryScope scope) {
118120
scope.inSession( em -> {
119121
TypedQuery<TableWithBooleanArrays> tq = em.createNamedQuery( "TableWithBooleanArrays.JPQL.getByData", TableWithBooleanArrays.class );

hibernate-core/src/test/java/org/hibernate/orm/test/type/DateArrayTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ public void testQueryById(SessionFactoryScope scope) {
124124

125125
@Test
126126
@SkipForDialect(dialectClass = PostgresPlusDialect.class, reason = "Seems that comparing date[] through JDBC is buggy. ERROR: operator does not exist: timestamp without time zone[] = date[]")
127+
@SkipForDialect(dialectClass = InformixDialect.class,
128+
reason = "The statement failed because binary large objects are not allowed in the Union, Intersect, or Minus ")
127129
public void testQuery(SessionFactoryScope scope) {
128130
scope.inSession( em -> {
129131
TypedQuery<TableWithDateArrays> tq = em.createNamedQuery( "TableWithDateArrays.JPQL.getByData", TableWithDateArrays.class );

hibernate-core/src/test/java/org/hibernate/orm/test/type/DoubleArrayTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ public void testQueryById(SessionFactoryScope scope) {
119119
}
120120

121121
@Test
122+
@SkipForDialect(dialectClass = InformixDialect.class,
123+
reason = "The statement failed because binary large objects are not allowed in the Union, Intersect, or Minus ")
122124
public void testQuery(SessionFactoryScope scope) {
123125
scope.inSession( em -> {
124126
TypedQuery<TableWithDoubleArrays> tq = em.createNamedQuery( "TableWithDoubleArrays.JPQL.getByData", TableWithDoubleArrays.class );

hibernate-core/src/test/java/org/hibernate/orm/test/type/EnumArrayTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ public void testQueryById(SessionFactoryScope scope) {
110110

111111
@Test
112112
@SkipForDialect(dialectClass = AltibaseDialect.class, reason = "When length 0 byte array is inserted, Altibase returns with null")
113+
@SkipForDialect(dialectClass = InformixDialect.class,
114+
reason = "The statement failed because binary large objects are not allowed in the Union, Intersect, or Minus ")
113115
public void testQuery(SessionFactoryScope scope) {
114116
scope.inSession( em -> {
115117
TypedQuery<TableWithEnumArrays> tq = em.createNamedQuery( "TableWithEnumArrays.JPQL.getByData", TableWithEnumArrays.class );

hibernate-core/src/test/java/org/hibernate/orm/test/type/EnumSetConverterTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ public void testQueryById(SessionFactoryScope scope) {
117117
}
118118

119119
@Test
120+
@SkipForDialect(dialectClass = InformixDialect.class,
121+
reason = "The statement failed because binary large objects are not allowed in the Union, Intersect, or Minus ")
120122
public void testQuery(SessionFactoryScope scope) {
121123
scope.inSession( em -> {
122124
TypedQuery<TableWithEnumSetConverter> tq = em.createNamedQuery( "TableWithEnumSetConverter.JPQL.getByData", TableWithEnumSetConverter.class );

hibernate-core/src/test/java/org/hibernate/orm/test/type/EnumSetTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ public void testQueryById(SessionFactoryScope scope) {
110110
}
111111

112112
@Test
113+
@SkipForDialect(dialectClass = InformixDialect.class,
114+
reason = "The statement failed because binary large objects are not allowed in the Union, Intersect, or Minus ")
113115
public void testQuery(SessionFactoryScope scope) {
114116
scope.inSession( em -> {
115117
TypedQuery<TableWithEnumSet> tq = em.createNamedQuery( "TableWithEnumSet.JPQL.getByData", TableWithEnumSet.class );

hibernate-core/src/test/java/org/hibernate/orm/test/type/FloatArrayTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ public void testQueryById(SessionFactoryScope scope) {
107107
}
108108

109109
@Test
110+
@SkipForDialect(dialectClass = InformixDialect.class,
111+
reason = "The statement failed because binary large objects are not allowed in the Union, Intersect, or Minus ")
110112
public void testQuery(SessionFactoryScope scope) {
111113
scope.inSession( em -> {
112114
TypedQuery<TableWithFloatArrays> tq = em.createNamedQuery( "TableWithFloatArrays.JPQL.getByData", TableWithFloatArrays.class );

hibernate-core/src/test/java/org/hibernate/orm/test/type/IntegerArrayTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ public void testQueryById(SessionFactoryScope scope) {
107107
}
108108

109109
@Test
110+
@SkipForDialect(dialectClass = InformixDialect.class,
111+
reason = "The statement failed because binary large objects are not allowed in the Union, Intersect, or Minus ")
110112
public void testQuery(SessionFactoryScope scope) {
111113
scope.inSession( em -> {
112114
TypedQuery<TableWithIntegerArrays> tq = em.createNamedQuery( "TableWithIntegerArrays.JPQL.getByData", TableWithIntegerArrays.class );

0 commit comments

Comments
 (0)