Difference between revisions of "GVBufferMapping"

From GreenVulcano Wiki
Jump to: navigation, search
(GVBufferFieldOutput)
Line 18: Line 18:
 
and the following attributes:
 
and the following attributes:
  
* ''name'': defines the name of the field to map;
+
{|class="gvtable"
* ''setterMethod'': defines the method that populates the GVBuffer field with the output parameter from store procedure. See [[GVBufferSetMethods]];
+
! Attribute !! Type !! Description
* ''property'': This attribute defines the value of the GVBuffer property if the method is setProperty();
+
|-
* ''type'': defines the Java type of the GVBuffer field.
+
| 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
 +
|}

Revision as of 12:24, 27 February 2012

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

It has two subelements:

  • Description;
  • GVBufferFieldOutput(s).


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