CriteriaQuery<T> createQuery(
Class<T> resultClass
)
Create a
CriteriaQuery
object with the specified result type. - Parameters:
resultClass
- type of the query result
- Return:
- criteria query object
- Since:
- JPA 2.0