Parameter
|
Type
|
Description
|
INPUT
|
||
hstmt
|
long
|
The statement handle.
|
hRow
|
long
|
The row handle.
|
hColAlias
|
long
|
The column handle returned from dam_describeColResAlias.
|
ColVal
|
Depends on the method used
|
The Java type of the data should correspond to the iXoType value. See Table 34. The data can be supplied in a format that corresponds to the column's definition in the schema or in any other format and the OpenAccess SDK SQL engine will perform the required conversion.
|
lColValLen
|
int
|
The length of the data:
XO_NULL_DATA - indicates a null value.
For VARCHAR, CHAR, WVARCHAR, WCHAR, and NUMERIC, either the number of characters or XO_NTS to add the entire string.
For all other data types, the length of the data.
Note: The length value is required to allow OpenAcccess SDK to validate that the correct size of data is passed in for the iXoType.
|
RETURN
|
||
int
|
DAM_SUCCESS - added the value to the row.
DAM_FAILURE - error adding the value.
|