public class HibernateQuery extends AbstractHibernateQuery<HibernateQuery>
cacheable, cacheRegion, comment, fetchSize, flushMode, lockModes, readOnly, timeout
queryMixin
MDC_PARAMETERS, MDC_QUERY
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 |
---|---|
protected HibernateQuery |
clone(SessionHolder sessionHolder) |
cleanupMDC, clone, clone, clone, clone, count, createQuery, createQuery, createQuery, createSerializer, iterate, iterate, list, list, listResults, listResults, logQuery, reset, scroll, scroll, setCacheable, setCacheRegion, setComment, setFetchSize, setFlushMode, setLockMode, setReadOnly, setTimeout, uniqueResult, uniqueResult
exists, fetch, fetchAll, from, from, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, getMetadata, getTemplates, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, on, on, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, serialize, toString
map, notExists, singleResult, singleResult, transform, uniqueResult
distinct, equals, groupBy, groupBy, hashCode, having, having, limit, offset, orderBy, orderBy, restrict, set, where, where
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
- protected HibernateQuery clone(SessionHolder sessionHolder)
clone
in class AbstractHibernateQuery<HibernateQuery>
Copyright © 2007–2015 Mysema Ltd. All rights reserved.