public final class JPAQuery extends AbstractJPAQuery<JPAQuery> implements JPQLQuery
flushMode, hints, lockMode, projection, queryHandlerentityManager, 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, uniqueResultbuildQueryString, 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, toStringcountDistinct, iterateDistinct, iterateDistinct, listDistinct, listDistinct, listDistinctResults, map, notExists, singleResult, singleResult, transform, uniqueResultdistinct, equals, groupBy, groupBy, hashCode, having, having, limit, offset, orderBy, orderBy, restrict, set, where, whereclone, finalize, getClass, notify, notifyAll, wait, wait, waitfrom, 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, rightJoindistinct, limit, offset, orderBy, restrict, setwherecount, countDistinct, exists, iterate, iterate, iterateDistinct, iterateDistinct, list, list, listDistinct, listDistinct, listDistinctResults, listResults, listResults, map, notExists, singleResult, singleResult, transform, uniqueResult, uniqueResultpublic 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.