Hibernate: support for correlated subqueries