com.mysema.query.jpa.impl
Class JPAQueryFactory

java.lang.Object
  extended by com.mysema.query.jpa.impl.JPAQueryFactory

public class JPAQueryFactory
extends Object

Factory class for query and DML clause creation

Author:
tiwe

Constructor Summary
JPAQueryFactory(JPQLTemplates templates, javax.inject.Provider<javax.persistence.EntityManager> entityManager)
           
JPAQueryFactory(javax.inject.Provider<javax.persistence.EntityManager> entityManager)
           
 
Method Summary
 JPADeleteClause delete(EntityPath<?> path)
           
 JPAQuery from(EntityPath<?> from)
           
 JPAQuery query()
           
 JPASubQuery subQuery()
           
 JPAUpdateClause update(EntityPath<?> path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPAQueryFactory

public JPAQueryFactory(javax.inject.Provider<javax.persistence.EntityManager> entityManager)

JPAQueryFactory

public JPAQueryFactory(JPQLTemplates templates,
                       javax.inject.Provider<javax.persistence.EntityManager> entityManager)
Method Detail

delete

public JPADeleteClause delete(EntityPath<?> path)

from

public JPAQuery from(EntityPath<?> from)

update

public JPAUpdateClause update(EntityPath<?> path)

query

public JPAQuery query()

subQuery

public JPASubQuery subQuery()


Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.