Statement

From GreenVulcano Wiki
Revision as of 08:35, 4 April 2012 by Anonymous (talk)
Jump to: navigation, search

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:

  • CallableStatement
  • PreparedStatement

Might contain the sub-elements:

StatementValue

StatementValue contains the value of the statement to be performed.

The StatementValue Element is used by: Statement.

ParamResolvers

This element contains the list of Resolver used to resolve the parameters included in the statement.

Resolvers are applied in sequence, following the order of definition, and can be of different types.

The ParamResolvers Element is used by: Statement.

Might contain more sub-elements:

ParamResolver

This element represents the type of a resolver to use for solving the parameters included in the statement.

The ParamResolver Element is used by: ParamResolver

Might contain the sub-elements: