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, timeout
configuration, firstUnionSubQuery, union, unionAll
MDC_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, setTimeout
extractEntityExpression, isEntityExpression
accept, addFlag, addFlag, addFlag, addFlag, addJoinFlag, addJoinFlag, fetchCount, from, from, from, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, getSQL, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, on, on, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, serialize, toString, union, union, union, unionAll, unionAll, unionAll, with, with, with, withRecursive, withRecursive, withRecursive
contains, contains, eq, eq, exists, getMetadata, getType, goe, goe, gt, gt, hashCode, in, in, isNotNull, isNull, loe, loe, lt, lt, ne, ne, notExists
equals, fetchFirst, transform, uniqueResult
distinct, groupBy, groupBy, having, having, limit, offset, orderBy, orderBy, restrict, set, where, where
finalize, getClass, notify, notifyAll, wait, wait, wait
distinct, limit, offset, orderBy, restrict, set
where
transform
fetchFirst
public 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)
FetchableQuery
expr
- new projectionpublic HibernateSQLQuery<Tuple> select(Expression<?>... exprs)
FetchableQuery
exprs
- new projectionCopyright © 2007–2016 Querydsl. All rights reserved.