public class JPAQuery extends AbstractJPAQuery<JPAQuery>
entityManager, flushMode, hints, lockMode, projection, queryHandlerqueryMixinMDC_PARAMETERS, MDC_QUERY| 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 templates)
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 instance with the given EntityManager
|
JPAQuery |
clone(javax.persistence.EntityManager entityManager,
JPQLTemplates templates)
Clone the state of this query to a new instance with the given EntityManager
and the specified templates
|
cleanupMDC, clone, clone, count, createQuery, createQuery, createQuery, createSerializer, iterate, iterate, list, list, listResults, listResults, logQuery, reset, setFlushMode, setHint, setLockMode, uniqueResultexists, fetch, fetchAll, from, from, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, getMetadata, getTemplates, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, on, on, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, serialize, serialize, toString, uniqueResultmap, notExists, singleResult, singleResult, transform, uniqueResultdistinct, equals, groupBy, groupBy, hashCode, having, having, limit, offset, orderBy, orderBy, restrict, set, where, wherefinalize, getClass, notify, notifyAll, wait, wait, waitdistinct, limit, offset, orderBy, restrict, setwheremap, notExists, singleResult, singleResult, transformpublic JPAQuery()
public JPAQuery(javax.persistence.EntityManager em)
em - public JPAQuery(javax.persistence.EntityManager em,
QueryMetadata metadata)
em - public JPAQuery(javax.persistence.EntityManager em,
JPQLTemplates templates)
em - templates - public JPAQuery(javax.persistence.EntityManager em,
JPQLTemplates templates,
QueryMetadata metadata)
em - templates - metadata - public JPAQuery clone(javax.persistence.EntityManager entityManager, JPQLTemplates templates)
AbstractJPAQueryclone in class AbstractJPAQuery<JPAQuery>public JPAQuery clone(javax.persistence.EntityManager entityManager)
AbstractJPAQueryclone in class AbstractJPAQuery<JPAQuery>Copyright © 2007–2015 Querydsl. All rights reserved.