Difference between revisions of "QueryFormatter"
(Created page with "==Description== The QueryFormatter element is the Formatter of a SQL query. =={{GVESB}} Configuration== The QueryFormatter Element is used by: ResultSet. The following ta...") |
(→QueryXMLBaseFormatter) |
||
Line 36: | Line 36: | ||
! Attribute !! Type !! Description | ! Attribute !! Type !! Description | ||
|- | |- | ||
− | | type || fixed || This attribute must assume the value | + | | type || fixed || This attribute must assume the value '''base_formatter'''. |
|- | |- | ||
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.j2ee.db.formatter.base.QueryXMLBaseFormatter'''. | | class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.j2ee.db.formatter.base.QueryXMLBaseFormatter'''. |
Latest revision as of 15:53, 3 April 2012
Description
The QueryFormatter element is the Formatter of a SQL query.
GreenVulcano® ESB Configuration
The QueryFormatter Element is used by: ResultSet.
The following table shows its attributes:
Attribute | Type | Description |
---|---|---|
type | fixed | This attribute must assume the value formatter. |
class | fixed | This attribute must assume the value it.greenvulcano.gvesb.j2ee.db.formatter.QueryFormatter. |
success | required | This attribute defines the return value from SQL query execution if successfully completed.
The attribute's value can't be null. |
failure | required | The attribute defines the return value from SQL query if the execution ends with error.
The attribute's value can't be null. |
Might contain the sub-element:
QueryXMLBaseFormatter
This element defines the formatter of a SQL query based on XML.
The QueryXMLBaseFormatter Element is used by: QueryFormatter.
The following table shows its attributes:
Attribute | Type | Description |
---|---|---|
type | fixed | This attribute must assume the value base_formatter. |
class | fixed | This attribute must assume the value it.greenvulcano.gvesb.j2ee.db.formatter.base.QueryXMLBaseFormatter. |
encoding | optional | This element defines the encoding to use for the XML document that wraps the query result.
The attribute's admitted values are:
The attribute's value cannot be null. |
stylesheet | optional | This element defines the stylesheet to use for the XML document that wraps the query result.
The attribute's value cannot be null. |
structure | optional | This element defines the structure of the XML document that wraps the query result.
The attribute's default value is: METADATA_AND_DATA. |
Might contain the sub-element: