Yes the query below is in the same test above the QueryDSL version and that executes fine
SELECT x FROM BookVersion x JOIN x.definition.bookMarks bm WHERE size(x.definition.bookMarks) = :sz AND (bm.page = 2357 OR bm.page = 2356)
The reason I looked at QueryDSL was the Hibernate implentation of JPA Criteria API doesn't seem to be able to handle it either https://hibernate.onjira.com/browse/HHH-6562
Yes the query below is in the same test above the QueryDSL version and that executes fine
SELECT x FROM BookVersion x JOIN x.definition. bookMarks bm WHERE size(x. definition. bookMarks) = :sz AND (bm.page = 2357 OR bm.page = 2356)
The reason I looked at QueryDSL was the Hibernate implentation of JPA Criteria API doesn't seem to be able to handle it either https:/ /hibernate. onjira. com/browse/ HHH-6562