public final class HibernateQuery extends AbstractHibernateQuery<HibernateQuery>
cacheable, cacheRegion, comment, fetchSize, flushMode, lockModes, readOnly, timeout
entityManager, queryMixin
Constructor and Description |
---|
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
|
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
|
Modifier and Type | Method and Description |
---|---|
HibernateQuery |
clone(org.hibernate.Session session)
Clone the state of this query to a new HibernateQuery instance with the given Session
|
count, createQuery, createQuery, createQuery, iterate, iterate, list, list, listResults, listResults, logQuery, scroll, scroll, setCacheable, setCacheRegion, setComment, setFetchSize, setFlushMode, setLockMode, setReadOnly, setTimeout, uniqueResult, uniqueResult
buildQueryString, exists, fetch, fetchAll, from, from, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, getConstants, getMetadata, getTemplates, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, on, on, reset, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, setConstants, toCountRowsString, toQueryString, toString
map, notExists, singleResult, singleResult, transform, uniqueResult
distinct, equals, groupBy, groupBy, hashCode, having, having, limit, offset, orderBy, orderBy, restrict, set, where, where
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
distinct, limit, offset, orderBy, restrict, set
where
map, notExists, singleResult, singleResult, transform
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
- public HibernateQuery(SessionHolder session, JPQLTemplates templates, QueryMetadata metadata)
session
- templates
- metadata
- public HibernateQuery clone(org.hibernate.Session session)
session
- Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.