com.mysema.query.jpa.impl
Class JPAQuery
java.lang.Object
  
com.mysema.query.support.QueryBase<Q>
      
com.mysema.query.support.ProjectableQuery<Q>
          
com.mysema.query.jpa.JPQLQueryBase<Q>
              
com.mysema.query.jpa.impl.AbstractJPAQuery<JPAQuery>
                  
com.mysema.query.jpa.impl.JPAQuery
- All Implemented Interfaces: 
 - FilteredClause<JPQLQuery>, JPQLCommonQuery<JPQLQuery>, JPQLQuery, Projectable, Query<JPQLQuery>, SimpleQuery<JPQLQuery>
 
public final class JPAQuery
- extends AbstractJPAQuery<JPAQuery>
- implements JPQLQuery
  
JPAQuery is the default implementation of the JPQLQuery interface for JPA
- Author:
 
  - tiwe
 
 
 
 
| 
Method Summary | 
 JPAQuery | 
clone(javax.persistence.EntityManager entityManager)
 
          Clone the state of this query to a new JPAQuery instance with the given EntityManager | 
 
| Methods inherited from class com.mysema.query.jpa.impl.AbstractJPAQuery | 
count, createQuery, createQuery, createQuery, iterate, iterate, list, list, listResults, logQuery, setFlushMode, setHint, setLockMode, uniqueResult, uniqueResult | 
 
| Methods inherited from class com.mysema.query.jpa.JPQLQueryBase | 
buildQueryString, exists, fetch, fetchAll, from, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, getConstants, getMetadata, getQueryMixin, getTemplates, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, reset, setConstants, toCountRowsString, toQueryString, toString, with | 
 
| Methods inherited from class com.mysema.query.support.ProjectableQuery | 
countDistinct, iterate, iterateDistinct, iterateDistinct, iterateDistinct, list, listDistinct, listDistinct, listDistinct, listDistinctResults, map, notExists, singleResult, singleResult, singleResult, transform, uniqueResult, uniqueResult | 
 
 
 
 
| Methods inherited from interface com.mysema.query.jpa.JPQLCommonQuery | 
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, with | 
 
 
 
 
| Methods inherited from interface com.mysema.query.Projectable | 
count, countDistinct, exists, iterate, iterate, iterate, iterateDistinct, iterateDistinct, iterateDistinct, list, list, list, listDistinct, listDistinct, listDistinct, listDistinctResults, listResults, map, notExists, singleResult, singleResult, singleResult, transform, uniqueResult, uniqueResult, uniqueResult | 
 
JPAQuery
public JPAQuery()
- Creates a new detached query
 The query can be attached via the clone method
 
JPAQuery
public JPAQuery(javax.persistence.EntityManager entityManager)
- Creates a new EntityManager bound query
- Parameters:
 entityManager - 
 
JPAQuery
public JPAQuery(javax.persistence.EntityManager entityManager,
                QueryMetadata metadata)
- Creates a new EntityManager bound query
- Parameters:
 entityManager - 
 
JPAQuery
public JPAQuery(javax.persistence.EntityManager entityManager,
                JPQLTemplates patterns)
- Creates a new query
- Parameters:
 entityManager - patterns - 
 
JPAQuery
public JPAQuery(JPASessionHolder session,
                JPQLTemplates templates,
                QueryMetadata metadata)
- Creates a new query
- Parameters:
 session - templates - metadata - 
 
clone
public JPAQuery clone(javax.persistence.EntityManager entityManager)
- Clone the state of this query to a new JPAQuery instance with the given EntityManager
 
- Parameters:
 entityManager - 
- Returns:
 
 
 
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.