8 February 2016

JPA CriteriaQuery call structure

The sequence of calls and the objects involved in a CriteriaQuery is complex at first. 
CriteriaQuery uses a fluid builder patters which mimics the structure of a JPQL/SQL query. I highlighted the creation of the parameters and the calls in which they are used.
The parameters are not exactly those in the API, i oversimplified to give an idea of the general structure of a criteria query.


No comments:

Post a Comment