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
If you need Union All, then two entities are candidates to apply inheritance to them in my mind.