|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.sql.Select
public class Select
A simple SQL SELECT statement
Field Summary | |
---|---|
Dialect |
dialect
|
Constructor Summary | |
---|---|
Select(Dialect dialect)
|
Method Summary | |
---|---|
LockMode |
getLockMode()
Deprecated. Instead use getLockOptions |
LockOptions |
getLockOptions()
Get the current lock options |
Select |
setComment(String comment)
|
Select |
setFromClause(String fromClause)
Sets the fromClause. |
Select |
setFromClause(String tableName,
String alias)
|
Select |
setGroupByClause(String groupByClause)
|
Select |
setLockMode(LockMode lockMode)
Deprecated. Instead use setLockOptions |
Select |
setLockOptions(LockOptions lockOptions)
Set the lock options |
Select |
setOrderByClause(String orderByClause)
|
Select |
setOuterJoins(String outerJoinsAfterFrom,
String outerJoinsAfterWhere)
|
Select |
setSelectClause(SelectFragment selectFragment)
|
Select |
setSelectClause(String selectClause)
Sets the selectClause. |
Select |
setWhereClause(String whereClause)
Sets the whereClause. |
String |
toStatementString()
Construct an SQL SELECT statement from the given clauses |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Dialect dialect
Constructor Detail |
---|
public Select(Dialect dialect)
Method Detail |
---|
public String toStatementString()
public Select setFromClause(String fromClause)
fromClause
- The fromClause to setpublic Select setFromClause(String tableName, String alias)
public Select setOrderByClause(String orderByClause)
public Select setGroupByClause(String groupByClause)
public Select setOuterJoins(String outerJoinsAfterFrom, String outerJoinsAfterWhere)
public Select setSelectClause(String selectClause)
selectClause
- The selectClause to setpublic Select setSelectClause(SelectFragment selectFragment)
public Select setWhereClause(String whereClause)
whereClause
- The whereClause to setpublic Select setComment(String comment)
public LockMode getLockMode()
public Select setLockMode(LockMode lockMode)
lockMode
-
public LockOptions getLockOptions()
public Select setLockOptions(LockOptions lockOptions)
lockOptions
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |