Skip to content

Commit 85b2c70

Browse files
committed
skip a test on Informix
The test works with a change to use aliases in the GROUP BY clause of the handwritten SQL, but that approach breaks on other databases.
1 parent b280300 commit 85b2c70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/mapping/basic/SubselectTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import org.hibernate.annotations.Synchronize;
1616
import org.hibernate.community.dialect.FirebirdDialect;
1717
import org.hibernate.community.dialect.DerbyDialect;
18+
import org.hibernate.community.dialect.InformixDialect;
1819
import org.hibernate.dialect.SybaseASEDialect;
1920

2021
import org.hibernate.testing.orm.junit.EntityManagerFactoryScope;
@@ -39,6 +40,7 @@
3940
@SkipForDialect(dialectClass = DerbyDialect.class, reason = "Derby doesn't support a CONCAT function")
4041
@SkipForDialect(dialectClass = SybaseASEDialect.class, reason = "Sybase doesn't support a CONCAT function")
4142
@SkipForDialect(dialectClass = FirebirdDialect.class, reason = "Firebird doesn't support a CONCAT function")
43+
@SkipForDialect(dialectClass = InformixDialect.class, reason = "Informix doesn't like CONCAT function in GROUP BY")
4244
public class SubselectTest {
4345

4446
@Test

0 commit comments

Comments
 (0)