HHH-14596 WhereAnnotatedOneToManySizeTest fails on HANA database

This commit is contained in:
Andrea Boriero 2021-05-13 09:49:14 +02:00
parent 40851fc50d
commit b30a68f5be
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import java.util.List;
import org.hibernate.dialect.AbstractHANADialect;
import org.hibernate.dialect.DB2Dialect;
import org.hibernate.query.spi.QueryImplementor;
@ -89,6 +90,7 @@ public class WhereAnnotatedOneToManySizeTest extends BaseCoreFunctionalTestCase
@Test
@SkipForDialect(value = DB2Dialect.class, comment = "DB2 does not support correlated subqueries in the ORDER BY clause")
@SkipForDialect(value = AbstractHANADialect.class, comment = "HANA db does not support correlated subqueries in the ORDER BY clause")
public void orderBy_sizeOf() {
inSession( session -> {
QueryImplementor<Object[]> query = session.createQuery(
@ -101,6 +103,7 @@ public class WhereAnnotatedOneToManySizeTest extends BaseCoreFunctionalTestCase
@Test
@SkipForDialect(value = DB2Dialect.class, comment = "DB2 does not support correlated subqueries in the ORDER BY clause")
@SkipForDialect(value = AbstractHANADialect.class, comment = "HANA db does not support correlated subqueries in the ORDER BY clause")
public void orderBy_dotSize() {
inSession( session -> {
QueryImplementor<Object[]> query = session.createQuery(