FileDocCategorySizeDatePackage
Statement.javaAPI DocHibernate 3.2.5972Tue Jul 12 15:27:30 BST 2005org.hibernate.hql.ast.tree

Statement

public interface Statement
Common interface modeling the different HQL statements (i.e., INSERT, UPDATE, DELETE, SELECT).
author
Steve Ebersole

Fields Summary
Constructors Summary
Methods Summary
public intgetStatementType()
Return the main token type representing the type of this statement.

return
The corresponding token type.

public org.hibernate.hql.ast.HqlSqlWalkergetWalker()
Retreive the "phase 2" walker which generated this statement tree.

return
The HqlSqlWalker instance which generated this statement tree.

public booleanneedsExecutor()
Does this statement require the StatementExecutor?

Essentially, at the JDBC level, does this require an executeUpdate()?

return
True if this statement should be handed off to the StatementExecutor to be executed; false otherwise.