[HHH-14669] CriteriaLiteralWithSingleQuoteTest: SAP ASE16.0 does not support grouping by column heading or alias

This commit is contained in:
lvydra 2023-08-24 15:25:44 +02:00 committed by Christian Beikov
parent f7c01d3f3a
commit a66daa0a52
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import org.hibernate.dialect.PostgreSQL81Dialect;
import org.hibernate.dialect.SybaseASE157Dialect;
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
import org.hibernate.testing.SkipForDialect;
@ -60,6 +61,7 @@ public class CriteriaLiteralWithSingleQuoteTest extends BaseEntityManagerFunctio
}
@Test
@SkipForDialect(value = SybaseASE157Dialect.class, jiraKey = "HHH-14669")
@SkipForDialect(value = PostgreSQL81Dialect.class, comment = "PostgreSQL does not support literals in group by statement")
public void testLiteralProjectionAndGroupBy() throws Exception {
doInJPA(