Hibernate Tips: How to Use a SubQuery in a CriteriaQuery
Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions. If you have a question for a future Hibernate Tip, please leave a comment below. Question: In one of our use cases, we use the Criteria API to build the query dynamically. Now I need…