TypedQuery<T> createQuery(
CriteriaSelect<T> selectQuery
)
Create an instance of TypedQuery for executing a criteria query, which may be a union or intersection of top-level queries.
- Parameters:
selectQuery- a criteria query object
- Return:
- the new query instance
- Throws:
- IllegalArgumentException - if the criteria query is found to be invalid
- Since:
- JPA 3.2