Difference between revisions of "GVBufferMapping"

From GreenVulcano Wiki
Jump to: navigation, search
(GVBufferFieldOutput)
Line 23: Line 23:
 
| name || optional || Defines the name of the field to map
 
| name || optional || Defines the name of the field to map
 
|-
 
|-
| setterMethod || required || Defines the method that populates the [[GVBuffer]] field with the output parameter from store procedure. See [[GVBufferSetMethods]]
+
| setterMethod || required || Defines the method that populates the [[GVBuffer]] field with the output parameter from store procedure.
 +
See [[GVBufferSetMethods]]
 
|-
 
|-
| property || optional || This attribute defines the value of the [[GVBuffer]] property if the method is setProperty();
+
| property || optional || This attribute defines the value of the [[GVBuffer]] property if the method is setProperty()
 
|-
 
|-
 
| type || required || Defines the Java type of the [[GVBuffer]] field.
 
| type || required || Defines the Java type of the [[GVBuffer]] field.

Revision as of 12:26, 27 February 2012

This element specifies how to map the GVBuffer fields with output parameters by store procedure.

Might contain the following sub-elements:


GVBufferFieldOutput

This attribute defines the GVBuffer field that will be mapped with the output parameters from the store procedure.

It has the subelements:

and the following attributes:

Attribute Type Description
name optional Defines the name of the field to map
setterMethod required Defines the method that populates the GVBuffer field with the output parameter from store procedure.

See GVBufferSetMethods

property optional This attribute defines the value of the GVBuffer property if the method is setProperty()
type required Defines the Java type of the GVBuffer field.

The attribute's admitted values are:

  • string
  • int
  • long
  • byte_array