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.
8 February 2016
JPA CriteriaQuery call structure
Labels:
criteria,
JPA,
SL-370-EE6
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment