|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.hibernate.AbstractHibernateQuery<HibernateQuery> com.mysema.query.jpa.hibernate.HibernateQuery
public final class HibernateQuery
HibernateQuery is the default implementation of the JPQLQuery interface for Hibernate
Constructor Summary | |
---|---|
|
HibernateQuery()
Creates a detached query The query can be attached via the clone method |
|
HibernateQuery(org.hibernate.Session session)
Creates a new Session bound query |
|
HibernateQuery(SessionHolder session,
JPQLTemplates templates)
Creates a new Session bound query |
protected |
HibernateQuery(SessionHolder session,
JPQLTemplates templates,
QueryMetadata metadata)
Creates a new Session bound query |
|
HibernateQuery(org.hibernate.Session session,
JPQLTemplates templates)
Creates a new Session bound query |
|
HibernateQuery(org.hibernate.Session session,
QueryMetadata metadata)
Creates a new Session bound query |
|
HibernateQuery(org.hibernate.StatelessSession session)
Creates a new Stateless session bound query |
Method Summary | |
---|---|
HibernateQuery |
clone(org.hibernate.Session session)
Clone the state of this query to a new HibernateQuery instance with the given Session |
Methods inherited from class com.mysema.query.jpa.hibernate.AbstractHibernateQuery |
---|
count, createQuery, createQuery, createQuery, iterate, iterate, list, list, listResults, logQuery, scroll, scroll, scroll, setCacheable, setCacheRegion, setFetchSize, setLockMode, setReadOnly, setTimeout, 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, uniqueResult, uniqueResult |
Methods inherited from class com.mysema.query.support.QueryBase |
---|
distinct, groupBy, having, limit, offset, orderBy, restrict, set, where |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.mysema.query.jpa.JPQLQuery |
---|
fetch, fetchAll |
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.Query |
---|
distinct, groupBy, having, limit, offset, orderBy, restrict, set |
Methods inherited from interface com.mysema.query.FilteredClause |
---|
where |
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, uniqueResult, uniqueResult, uniqueResult |
Constructor Detail |
---|
public HibernateQuery()
public HibernateQuery(org.hibernate.Session session)
session
- public HibernateQuery(org.hibernate.Session session, QueryMetadata metadata)
session
- public HibernateQuery(org.hibernate.Session session, JPQLTemplates templates)
session
- templates
- public HibernateQuery(org.hibernate.StatelessSession session)
session
- public HibernateQuery(SessionHolder session, JPQLTemplates templates)
session
- templates
- protected HibernateQuery(SessionHolder session, JPQLTemplates templates, QueryMetadata metadata)
session
- templates
- metadata
- Method Detail |
---|
public HibernateQuery clone(org.hibernate.Session session)
session
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |