Statement
Description
This element defines the statement to be evaluated.
Can contains placeholders that will be replaced at runtime.
GreenVulcano® ESB Configuration
The element statement can be used by:
- CallDescriptor
- DBOFlatSelect
- DBOInsert
- DBOInsertOrUpdate
- DBOMultiFlatSelect
- DBOSelect
- DBOThreadSelect
- DBOUpdate
- DBOUpdateOrInsert
- Sheet
Its attributes are:
Attribute | Type | Description |
---|---|---|
type | required | Must be:
The attribute's admitted values are:
The attribute's value cannot be null. |
id | optional | Statement identifier. Default is 0. It is used as value of row/@id attribute:
The attribute's value cannot be null. Incremental IDs are required if DBO uses a transformation, while same IDs (usually the default one) is required for each statement when not using a transformation. |
keys | optional | Only useful in DBOSelect.
Specifies the index of select output on which group the results. The corresponding values are specified as attributes of 'data' element within the 'RowSet' element. For example, in the select: SELECT id,company_code,name FROM employees specifying the attribute keys = "2", the result would be: <RowSet>
<data key_2="GreenVulcano">
<row><col>19</col><col>pippo</col></row>
<row><col>25</col><col>pluto</col></row>
</data>
</RowSet>
Can specify multiple keys separated by commas. The attribute's value cannot be null. |
Does not contain subelements.