I have a query that I want to rewrite to use jinq.
SELECT a
INNER JOIN FETCH
a.bs AS b
INNER JOIN FETCH b.cs AS c
I tried to do:
..streamAll(session, A.class)
.joinFetch(a -> JinqStream.from(a.getBs())
.join(b -> JinqStream.from(b.getCs() )
)
This did not work...
Is it possible? If so, how?
I am currently using jinq-hibernate-legacy version 1.8.19 since I could not get 1.8.24 to work with Hibernate 5.1.