T - result typepublic class JPAQuery<T> extends AbstractJPAQuery<T,JPAQuery<T>>
JPAQuery is the default implementation of the JPQLQuery interface for JPAentityManager, flushMode, hints, lockMode, projection, queryHandlerqueryMixin| 构造器和说明 |
|---|
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,
com.querydsl.jpa.JPQLTemplates templates)
Creates a new query
|
JPAQuery(javax.persistence.EntityManager em,
com.querydsl.jpa.JPQLTemplates templates,
com.querydsl.core.QueryMetadata metadata)
Creates a new query
|
JPAQuery(javax.persistence.EntityManager em,
com.querydsl.core.QueryMetadata metadata)
Creates a new EntityManager bound query
|
| 限定符和类型 | 方法和说明 |
|---|---|
JPAQuery<T> |
clone(javax.persistence.EntityManager entityManager)
Clone the state of this query to a new instance with the given EntityManager
|
JPAQuery<T> |
clone(javax.persistence.EntityManager entityManager,
com.querydsl.jpa.JPQLTemplates templates)
Clone the state of this query to a new instance with the given EntityManager
and the specified templates
|
JPAQuery<com.querydsl.core.Tuple> |
select(com.querydsl.core.types.Expression<?>... exprs) |
<U> JPAQuery<U> |
select(com.querydsl.core.types.Expression<U> expr) |
cleanupMDC, clone, clone, createQuery, createSerializer, fetch, fetchCount, fetchOne, fetchPage, fetchResults, iterate, logQuery, reset, setFlushMode, setHint, setLockModefetchAll, fetchJoin, from, from, from, getTemplates, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, on, on, p, p, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, serialize, serialize, toStringaccept, contains, contains, eq, eq, exists, getMetadata, getType, goe, goe, gt, gt, hashCode, in, in, isNotNull, isNull, loe, loe, lt, lt, ne, ne, notExistsdistinct, groupBy, groupBy, having, having, limit, offset, orderBy, orderBy, restrict, set, where, wherepublic JPAQuery()
public JPAQuery(javax.persistence.EntityManager em)
em - entity managerpublic JPAQuery(javax.persistence.EntityManager em,
com.querydsl.core.QueryMetadata metadata)
em - entity managermetadata - query metadatapublic JPAQuery(javax.persistence.EntityManager em,
com.querydsl.jpa.JPQLTemplates templates)
em - entity managertemplates - templatespublic JPAQuery(javax.persistence.EntityManager em,
com.querydsl.jpa.JPQLTemplates templates,
com.querydsl.core.QueryMetadata metadata)
em - entity managertemplates - templatesmetadata - query metadatapublic JPAQuery<T> clone(javax.persistence.EntityManager entityManager, com.querydsl.jpa.JPQLTemplates templates)
AbstractJPAQueryclone 在类中 AbstractJPAQuery<T,JPAQuery<T>>entityManager - entity managertemplates - templatespublic JPAQuery<T> clone(javax.persistence.EntityManager entityManager)
AbstractJPAQueryclone 在类中 AbstractJPAQuery<T,JPAQuery<T>>entityManager - entity managerpublic <U> JPAQuery<U> select(com.querydsl.core.types.Expression<U> expr)
public JPAQuery<com.querydsl.core.Tuple> select(com.querydsl.core.types.Expression<?>... exprs)