public final class HibernateQuery extends AbstractHibernateQuery<HibernateQuery>
cacheable, cacheRegion, comment, fetchSize, flushMode, lockModes, readOnly, timeoutentityManager, 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, uniqueResultbuildQueryString, 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, toStringmap, notExists, singleResult, singleResult, transform, uniqueResultdistinct, equals, groupBy, groupBy, hashCode, having, having, limit, offset, orderBy, orderBy, restrict, set, where, whereclone, finalize, getClass, notify, notifyAll, wait, wait, waitdistinct, limit, offset, orderBy, restrict, setwheremap, notExists, singleResult, singleResult, transformpublic 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–2014 Mysema Ltd. All rights reserved.