TypedQuery<T> createQuery(
CriteriaQuery<T> criteriaQuery
)
Create an instance of
TypedQuery
for executing a criteria query. - Parameters:
criteriaQuery
- a criteria query object
- Return:
- the new query instance
- Throws:
- IllegalArgumentException - if the criteria query is found to be invalid
- Since:
- JPA 2.0