public final class JPAQuery extends AbstractJPAQuery<JPAQuery> implements JPQLQuery
flushMode, hints, lockMode, projection, queryHandler
entityManager, queryMixin
Constructor and Description |
---|
JPAQuery()
Creates a new detached query
The query can be attached via the clone method
|
JPAQuery(javax.persistence.EntityManager em)
Creates a new EntityManager bound query
|
JPAQuery(javax.persistence.EntityManager em,
JPQLTemplates patterns)
Creates a new query
|
JPAQuery(javax.persistence.EntityManager em,
JPQLTemplates templates,
QueryMetadata metadata)
Creates a new query
|
JPAQuery(javax.persistence.EntityManager em,
QueryMetadata metadata)
Creates a new EntityManager bound query
|
Modifier and Type | Method and Description |
---|---|
JPAQuery |
clone(javax.persistence.EntityManager entityManager)
Clone the state of this query to a new JPAQuery instance with the given EntityManager
|
count, createQuery, createQuery, createQuery, iterate, iterate, list, list, listResults, listResults, logQuery, setFlushMode, setHint, setLockMode, uniqueResult, uniqueResult
buildQueryString, exists, fetch, fetchAll, from, from, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, getConstants, getMetadata, getTemplates, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, on, on, reset, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, setConstants, toCountRowsString, toQueryString, toString
countDistinct, iterateDistinct, iterateDistinct, listDistinct, listDistinct, listDistinctResults, map, notExists, singleResult, singleResult, transform, uniqueResult
distinct, equals, groupBy, groupBy, hashCode, having, having, limit, offset, orderBy, orderBy, restrict, set, where, where
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
from, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, on, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin
distinct, limit, offset, orderBy, restrict, set
where
count, countDistinct, exists, iterate, iterate, iterateDistinct, iterateDistinct, list, list, listDistinct, listDistinct, listDistinctResults, listResults, listResults, map, notExists, singleResult, singleResult, transform, uniqueResult, uniqueResult
public JPAQuery()
public JPAQuery(javax.persistence.EntityManager em)
em
- public JPAQuery(javax.persistence.EntityManager em, QueryMetadata metadata)
em
- public JPAQuery(javax.persistence.EntityManager em, JPQLTemplates patterns)
em
- patterns
- public JPAQuery(javax.persistence.EntityManager em, JPQLTemplates templates, QueryMetadata metadata)
em
- templates
- metadata
- public JPAQuery clone(javax.persistence.EntityManager entityManager)
entityManager
- Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.