public class HibernateQueryFactory extends java.lang.Object implements JPQLQueryFactory
Constructor and Description |
---|
HibernateQueryFactory(JPQLTemplates templates,
javax.inject.Provider<org.hibernate.Session> session) |
HibernateQueryFactory(javax.inject.Provider<org.hibernate.Session> session) |
Modifier and Type | Method and Description |
---|---|
HibernateDeleteClause |
delete(EntityPath<?> path)
Create a new DELETE clause
|
HibernateQuery |
from(EntityPath<?> from)
Create a new Query with the given source
|
HibernateQuery |
query()
Create a new Query
|
HibernateSubQuery |
subQuery()
Create a new Sub query
|
HibernateUpdateClause |
update(EntityPath<?> path)
Create a new UPDATE clause
|
public HibernateQueryFactory(javax.inject.Provider<org.hibernate.Session> session)
public HibernateQueryFactory(JPQLTemplates templates, javax.inject.Provider<org.hibernate.Session> session)
public HibernateDeleteClause delete(EntityPath<?> path)
JPQLQueryFactory
delete
in interface JPQLQueryFactory
public HibernateQuery from(EntityPath<?> from)
JPQLQueryFactory
from
in interface JPQLQueryFactory
public HibernateUpdateClause update(EntityPath<?> path)
JPQLQueryFactory
update
in interface JPQLQueryFactory
public HibernateQuery query()
QueryFactory
query
in interface QueryFactory<JPQLQuery,JPQLSubQuery>
public HibernateSubQuery subQuery()
QueryFactory
subQuery
in interface QueryFactory<JPQLQuery,JPQLSubQuery>
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.