Difference between revisions of "Statement"
| Line 1: | Line 1: | ||
| − | + | [[Statement]] element contains the statement to be evaluated. Those statements might contain [[placeholders]] that will be replaced at runtime. | |
| + | It is used by: [[DBOperations]]. | ||
The Statement element has the following parameters: | The Statement element has the following parameters: | ||
| − | + | {|class="gvtable" | |
| − | + | ! Attribute !! Type !! Description | |
| − | + | |- | |
| − | * | + | | statementType || required || This element represents the type of statement to use. |
| − | * | + | We recommend using a CallableStatement to process stored procedures. |
| − | + | The attribute's admitted values are: | |
| − | + | * CallableStatement | |
| − | + | * PreparedStatement | |
| + | |} | ||
| − | * | + | Might contain the sub-elements: |
| + | * [[#StatementValue|StatementValue]] | ||
| + | * [[#ParamResolvers|ParamResolvers]] | ||
| + | |||
| + | ==StatementValue== | ||
| + | |||
| + | StatementValue contains the value of the statement to be performed. | ||
| + | |||
| + | The StatementValue Element is used by: [[Statement]]. | ||
| + | |||
| + | ==ParamResolvers== | ||
Revision as of 08:19, 4 April 2012
Statement element contains the statement to be evaluated. Those statements might contain placeholders that will be replaced at runtime.
It is used by: DBOperations.
The Statement element has the following parameters:
| Attribute | Type | Description |
|---|---|---|
| statementType | required | This element represents the type of statement to use.
We recommend using a CallableStatement to process stored procedures. The attribute's admitted values are:
|
Might contain the sub-elements:
StatementValue
StatementValue contains the value of the statement to be performed.
The StatementValue Element is used by: Statement.