1. JPQL Query using max on a date field stackoverflow.com
First, let me say I'm not a DB expert by any stretch of the imagination :-)... However, I've been sucked into doing the JPA model for the project I'm currently working on, ...
2. JPQL query: selecting a single Boolean which is the AND of two of object's fields stackoverflow.com
Suppose that I have a JPA-annotated class called