T - result typepublic class HibernateSQLQuery<T> extends AbstractHibernateSQLQuery<T,HibernateSQLQuery<T>>
HibernateSQLQuery is an SQLQuery implementation that uses Hibernate's Native SQL functionality
to execute queriescacheable, cacheRegion, fetchSize, readOnly, timeoutconfiguration, firstUnionSubQuery, union, unionAllMDC_PARAMETERS, MDC_QUERY, queryMixin| Constructor and Description |
|---|
HibernateSQLQuery(org.hibernate.Session session,
Configuration conf) |
HibernateSQLQuery(SessionHolder session,
Configuration conf,
QueryMetadata metadata) |
HibernateSQLQuery(SessionHolder session,
SQLTemplates sqlTemplates,
QueryMetadata metadata) |
HibernateSQLQuery(org.hibernate.Session session,
SQLTemplates sqlTemplates) |
HibernateSQLQuery(org.hibernate.StatelessSession session,
Configuration conf) |
HibernateSQLQuery(org.hibernate.StatelessSession session,
SQLTemplates sqlTemplates) |
| Modifier and Type | Method and Description |
|---|---|
protected HibernateSQLQuery<T> |
clone(SessionHolder sessionHolder) |
HibernateSQLQuery<Tuple> |
select(Expression<?>... exprs)
Change the projection of this query
|
<U> HibernateSQLQuery<U> |
select(Expression<U> expr)
Change the projection of this query
|
cleanupMDC, clone, clone, clone, clone, createQuery, createSerializer, fetch, fetchOne, fetchResults, iterate, logQuery, reset, setCacheable, setCacheRegion, setFetchSize, setReadOnly, setTimeoutextractEntityExpression, isEntityExpressionaccept, addFlag, addFlag, addFlag, addFlag, addJoinFlag, addJoinFlag, fetchCount, from, from, from, fullJoin, fullJoin, fullJoin, fullJoin, getSQL, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, on, on, rightJoin, rightJoin, rightJoin, rightJoin, serialize, toString, union, union, union, unionAll, unionAll, unionAll, with, with, with, withRecursive, withRecursive, withRecursivecontains, contains, eq, eq, exists, getMetadata, getType, goe, goe, gt, gt, hashCode, loe, loe, lt, lt, ne, ne, notExistsequals, fetchFirst, transform, uniqueResultdistinct, groupBy, groupBy, having, having, limit, offset, orderBy, orderBy, restrict, set, where, wherefinalize, getClass, notify, notifyAll, wait, wait, waitdistinct, limit, offset, orderBy, restrict, setwheretransformfetchFirstpublic HibernateSQLQuery(org.hibernate.Session session,
SQLTemplates sqlTemplates)
public HibernateSQLQuery(org.hibernate.Session session,
Configuration conf)
public HibernateSQLQuery(org.hibernate.StatelessSession session,
SQLTemplates sqlTemplates)
public HibernateSQLQuery(org.hibernate.StatelessSession session,
Configuration conf)
public HibernateSQLQuery(SessionHolder session, SQLTemplates sqlTemplates, QueryMetadata metadata)
public HibernateSQLQuery(SessionHolder session, Configuration conf, QueryMetadata metadata)
protected HibernateSQLQuery<T> clone(SessionHolder sessionHolder)
clone in class AbstractHibernateSQLQuery<T,HibernateSQLQuery<T>>public <U> HibernateSQLQuery<U> select(Expression<U> expr)
FetchableQueryexpr - new projectionpublic HibernateSQLQuery<Tuple> select(Expression<?>... exprs)
FetchableQueryexprs - new projectionCopyright © 2007–2016. All rights reserved.