public class JPAQueryFactory extends java.lang.Object implements JPQLQueryFactory
Constructor and Description |
---|
JPAQueryFactory(JPQLTemplates templates,
javax.inject.Provider<javax.persistence.EntityManager> entityManager) |
JPAQueryFactory(javax.inject.Provider<javax.persistence.EntityManager> entityManager) |
Modifier and Type | Method and Description |
---|---|
JPADeleteClause |
delete(EntityPath<?> path)
Create a new DELETE clause
|
JPAQuery |
from(EntityPath<?> from)
Create a new Query with the given source
|
JPAQuery |
query()
Create a new Query
|
JPASubQuery |
subQuery()
Create a new Sub query
|
JPAUpdateClause |
update(EntityPath<?> path)
Create a new UPDATE clause
|
public JPAQueryFactory(javax.inject.Provider<javax.persistence.EntityManager> entityManager)
public JPAQueryFactory(JPQLTemplates templates, javax.inject.Provider<javax.persistence.EntityManager> entityManager)
public JPADeleteClause delete(EntityPath<?> path)
JPQLQueryFactory
delete
in interface JPQLQueryFactory
public JPAQuery from(EntityPath<?> from)
JPQLQueryFactory
from
in interface JPQLQueryFactory
public JPAUpdateClause update(EntityPath<?> path)
JPQLQueryFactory
update
in interface JPQLQueryFactory
public JPAQuery query()
QueryFactory
query
in interface QueryFactory<JPQLQuery,JPQLSubQuery>
public JPASubQuery subQuery()
QueryFactory
subQuery
in interface QueryFactory<JPQLQuery,JPQLSubQuery>
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.