public class JPAQuery extends AbstractJPAQuery<JPAQuery>
entityManager, flushMode, hints, lockMode, projection, queryHandler
queryMixin
MDC_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, uniqueResult
exists, 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, toString, uniqueResult
map, notExists, singleResult, singleResult, transform, uniqueResult
distinct, equals, groupBy, groupBy, hashCode, having, having, limit, offset, orderBy, orderBy, restrict, set, where, where
finalize, getClass, notify, notifyAll, wait, wait, wait
distinct, limit, offset, orderBy, restrict, set
where
map, notExists, singleResult, singleResult, transform
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 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)
AbstractJPAQuery
clone
in class AbstractJPAQuery<JPAQuery>
public JPAQuery clone(javax.persistence.EntityManager entityManager)
AbstractJPAQuery
clone
in class AbstractJPAQuery<JPAQuery>
Copyright © 2007–2015 Mysema Ltd. All rights reserved.