I am trying to convert a native SQL query to use the Criteria API in JPA 2.0. I have found a lot of Criteria API examples on Google, but I am having a really hard time putting
JPA does not support UNION, either use a native SQL query, or execute two queries.