当前页面:
在线文档首页 >
Hibernate 3.2.3 正式版 API 英文文档
UpdateStatement (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档
org.hibernate.hql.ast.tree
Class UpdateStatement
java.lang.Object
antlr.BaseAST
antlr.CommonAST
org.hibernate.hql.ast.tree.Node
org.hibernate.hql.ast.tree.SqlNode
org.hibernate.hql.ast.tree.HqlSqlWalkerNode
org.hibernate.hql.ast.tree.AbstractStatement
org.hibernate.hql.ast.tree.AbstractRestrictableStatement
org.hibernate.hql.ast.tree.UpdateStatement
- All Implemented Interfaces:
- antlr.collections.AST, DisplayableNode, InitializeableNode, RestrictableStatement, Serializable, Statement
- public class UpdateStatement
- extends AbstractRestrictableStatement
Defines a top-level AST node representing an HQL update statement.
- Author:
- Steve Ebersole
- See Also:
- Serialized Form
Fields inherited from class antlr.BaseAST |
down, right |
Methods inherited from class antlr.CommonAST |
getText, getType, initialize, setType |
Methods inherited from class antlr.BaseAST |
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen |
UpdateStatement
public UpdateStatement()
getStatementType
public int getStatementType()
- Description copied from interface:
Statement
- Return the main token type representing the type of this statement.
- Returns:
- The corresponding token type.
- See Also:
Statement.getStatementType()
needsExecutor
public boolean needsExecutor()
- Description copied from interface:
Statement
- Does this statement require the StatementExecutor?
Essentially, at the JDBC level, does this require an executeUpdate()?
- Returns:
- True if this statement should be handed off to the
StatementExecutor to be executed; false otherwise.
- See Also:
Statement.needsExecutor()
getWhereClauseParentTokenType
protected int getWhereClauseParentTokenType()
- Specified by:
getWhereClauseParentTokenType
in class AbstractRestrictableStatement
getLog
protected org.apache.commons.logging.Log getLog()
- Specified by:
getLog
in class AbstractRestrictableStatement
getSetClause
public antlr.collections.AST getSetClause()