Showing posts with label subquery. Show all posts
Showing posts with label subquery. Show all posts

Friday, January 13, 2012

JPA 2 + Criteria API - Defining a subquery


I try to convert a sql query to Criteria API without success so far. I can create two separate queries which return the values I need, but I don't know how to combine them in a single query.