You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Disabled("It also fails in Hibernate ORM, see https://hibernate.atlassian.net/browse/HHH-19868")
54
53
publicvoidtestQuery(VertxTestContextcontext) {
55
54
Nodebasik = newNode( "Child" );
56
55
basik.parent = newNode( "Parent" );
@@ -66,13 +65,13 @@ public void testQuery(VertxTestContext context) {
66
65
.thenCompose( s -> s.createQuery( "select distinct n from Node n left join fetch n.elements", Node.class ).getResultList() )
67
66
.thenAccept( list -> assertThat( list ).hasSize( 2 ) )
68
67
.thenCompose( v -> openSession() )
69
-
.thenCompose( s -> s.createQuery( "select distinct n, e from Node n join n.elements e", Node.class ).getResultList() )
68
+
.thenCompose( s -> s.createQuery( "select distinct n, e from Node n join n.elements e", Tuple.class ).getResultList() )
70
69
.thenAccept( list -> assertThat( list ).hasSize( 3 ) )
71
70
.thenCompose( v -> openSession() )
72
-
.thenCompose( s -> s.createQuery( "select distinct n.id, e.id from Node n join n.elements e", Node.class ).getResultList() )
71
+
.thenCompose( s -> s.createQuery( "select distinct n.id, e.id from Node n join n.elements e", Tuple.class ).getResultList() )
73
72
.thenAccept( list -> assertThat( list ).hasSize( 3 ) )
74
73
.thenCompose( v -> openSession() )
75
-
.thenCompose( s -> s.createQuery( "select max(e.id), min(e.id), sum(e.id) from Node n join n.elements e group by n.id order by n.id", Node.class ).getResultList() )
74
+
.thenCompose( s -> s.createQuery( "select max(e.id), min(e.id), sum(e.id) from Node n join n.elements e group by n.id order by n.id", Tuple.class ).getResultList() )
76
75
.thenAccept( list -> assertThat( list ).hasSize( 1 ) )
0 commit comments