当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
Update (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.sql
Class Update
java.lang.Object
net.sf.hibernate.sql.Update
- public class Update
- extends Object
An SQL UPDATE statement
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Update
public Update()
addColumns
public Update addColumns(String[] columnNames)
addColumns
public Update addColumns(String[] columnNames,
String value)
addColumn
public Update addColumn(String columnName)
addColumn
public Update addColumn(String columnName,
String value)
addColumn
public Update addColumn(String columnName,
Object value,
LiteralType type)
throws Exception
- Throws:
Exception
addWhereColumns
public Update addWhereColumns(String[] columnNames)
addWhereColumns
public Update addWhereColumns(String[] columnNames,
String value)
addWhereColumn
public Update addWhereColumn(String columnName)
addWhereColumn
public Update addWhereColumn(String columnName,
String value)
setTableName
public Update setTableName(String tableName)
setWhere
public Update setWhere(String where)
toStatementString
public String toStatementString()
setPrimaryKeyColumnNames
public Update setPrimaryKeyColumnNames(String[] primaryKeyColumnNames)
setVersionColumnName
public Update setVersionColumnName(String versionColumnName)