public final class SQLQuery extends AbstractSQLQuery<SQLQuery>
SQLCommonQuery
interfacequeryMixin, union, unionAll
Constructor and Description |
---|
SQLQuery(Configuration configuration)
Create a new SQLQuery instance
|
SQLQuery(java.sql.Connection conn,
Configuration configuration)
Create a new SQLQuery instance
|
SQLQuery(java.sql.Connection conn,
Configuration configuration,
QueryMetadata metadata)
Create a new SQLQuery instance
|
SQLQuery(java.sql.Connection conn,
SQLTemplates templates)
Create a new SQLQuery instance
|
SQLQuery(java.sql.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(java.sql.Connection conn)
Clone the state of this query to a new SQLQuery instance with the given Connection
|
addFlag, addFlag, addFlag, addJoinFlag, addJoinFlag, buildQueryString, count, createSerializer, exists, forUpdate, from, from, from, fullJoin, fullJoin, fullJoin, fullJoin, getConfiguration, getMetadata, getResults, getSQL, innerJoin, innerJoin, innerJoin, innerJoin, iterate, iterate, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, list, list, listResults, listResults, on, on, rightJoin, rightJoin, rightJoin, rightJoin, setParameters, toString, union, union, union, union, unionAll, unionAll, unionAll, unionAll, uniqueResult, uniqueResult
map, notExists, singleResult, singleResult, transform, uniqueResult
distinct, equals, groupBy, groupBy, hashCode, having, having, limit, offset, orderBy, orderBy, restrict, set, where, where
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
distinct, limit, offset, orderBy, restrict, set
where
public SQLQuery(SQLTemplates templates)
connection
- Connection to usetemplates
- SQLTemplates to usepublic SQLQuery(java.sql.Connection conn, SQLTemplates templates)
conn
- Connection to usetemplates
- SQLTemplates to usepublic SQLQuery(java.sql.Connection conn, SQLTemplates templates, QueryMetadata metadata)
conn
- Connection to usetemplates
- SQLTemplates to usemetadata
- public SQLQuery(Configuration configuration)
configuration
- public SQLQuery(java.sql.Connection conn, Configuration configuration)
conn
- Connection to useconfiguration
- public SQLQuery(java.sql.Connection conn, Configuration configuration, QueryMetadata metadata)
conn
- templates
- metadata
- public SQLQuery clone(java.sql.Connection conn)
conn
- Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.