public class SQLQuery extends AbstractSQLQuery<SQLQuery>
SQLCommonQuery
interfacelisteners, useLiterals
configuration, firstUnionSubQuery, union, unionAll
MDC_PARAMETERS, MDC_QUERY, queryMixin
Constructor and Description |
---|
SQLQuery(Configuration configuration)
Create a new SQLQuery instance
|
SQLQuery(Connection conn,
Configuration configuration)
Create a new SQLQuery instance
|
SQLQuery(Connection conn,
Configuration configuration,
QueryMetadata metadata)
Create a new SQLQuery instance
|
SQLQuery(Connection conn,
SQLTemplates templates)
Create a new SQLQuery instance
|
SQLQuery(Connection conn,
SQLTemplates templates,
QueryMetadata metadata)
Create a new SQLQuery instance
|
SQLQuery(SQLTemplates templates)
Create a detached SQLQuery instance The query can be attached via the
clone method
|
Modifier and Type | Method and Description |
---|---|
SQLQuery |
clone(Connection conn) |
addListener, cleanupMDC, clone, clone, count, createSerializer, endContext, forUpdate, getConfiguration, getResults, iterate, list, listResults, logQuery, onException, setParameters, setUseLiterals, startContext, uniqueResult
addFlag, addFlag, addFlag, addFlag, addJoinFlag, addJoinFlag, exists, from, from, from, fullJoin, fullJoin, fullJoin, fullJoin, getMetadata, getSQL, innerJoin, innerJoin, innerJoin, innerJoin, iterate, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, list, listResults, on, on, rightJoin, rightJoin, rightJoin, rightJoin, serialize, toString, union, union, union, union, unionAll, unionAll, unionAll, unionAll, uniqueResult, with, with, with, withRecursive, withRecursive, withRecursive
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
public SQLQuery(SQLTemplates templates)
templates
- SQLTemplates to usepublic SQLQuery(Connection conn, SQLTemplates templates)
conn
- Connection to usetemplates
- SQLTemplates to usepublic SQLQuery(Connection conn, SQLTemplates templates, QueryMetadata metadata)
conn
- Connection to usetemplates
- SQLTemplates to usemetadata
- public SQLQuery(Configuration configuration)
configuration
- public SQLQuery(Connection conn, Configuration configuration)
conn
- Connection to useconfiguration
- public SQLQuery(Connection conn, Configuration configuration, QueryMetadata metadata)
conn
- configuration
- metadata
- public SQLQuery clone(Connection conn)
clone
in class AbstractSQLQuery<SQLQuery>
Copyright © 2007–2015 Mysema Ltd. All rights reserved.