Skip to content

Commit ac550f3

Browse files
committed
skip test on Informix
1 parent f74c7ef commit ac550f3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/mapping/formula/FormulaFromHbmTests.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import java.sql.Types;
88

9+
import org.hibernate.community.dialect.InformixDialect;
910
import org.hibernate.dialect.MySQLDialect;
1011
import org.hibernate.dialect.SybaseASEDialect;
1112
import org.hibernate.mapping.BasicValue;
@@ -63,8 +64,12 @@ public void mappingAssertions(DomainModelScope scope) {
6364
}
6465

6566
@Test
66-
@SkipForDialect(dialectClass = SybaseASEDialect.class, reason = "Sybase has no trim function which is used in the mapping", matchSubTypes = true)
67-
@SkipForDialect(dialectClass = MySQLDialect.class, reason = "The MySQL JDBC driver doesn't support the JDBC escape for the concat function which is used in the mapping", matchSubTypes = true)
67+
@SkipForDialect(dialectClass = SybaseASEDialect.class,
68+
reason = "Sybase has no trim function which is used in the mapping", matchSubTypes = true)
69+
@SkipForDialect(dialectClass = MySQLDialect.class,
70+
reason = "The MySQL JDBC driver doesn't support the JDBC escape for the concat function which is used in the mapping", matchSubTypes = true)
71+
@SkipForDialect(dialectClass = InformixDialect.class,
72+
reason = "The Informix JDBC driver doesn't support the JDBC escape for the concat function which is used in the mapping")
6873
public void testBasicHqlUse(SessionFactoryScope scope) {
6974
scope.inTransaction(
7075
(session) -> session.createQuery( "from EntityOfFormulas" ).list()

0 commit comments

Comments
 (0)