Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_getValueToSet

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 9.0
    • Documentation

This method gets the value portion of a value object. A value object consists of the column handle and the value for that column. It is retrieved from a row by using the methods dam_getFirstValueSet and dam_getNextValueSet.

The XoType specifies how you want the value to be returned.

You can obtain the type of the column by using dam_describeCol on the column handle returned by dam_getColToSet.

Object dam_getValueToSet(
       long   hRowElem, 
       int    iXoType, 
       xo_int piStatus)

Parameters for dam_getValueToSet

Parameter Type Description
INPUT
hRowElem long Value set handle.
iXoType int The data type in which to get the value.
OUTPUT
piStatus xo_int The status of the method call:
DAM_SUCCESS - all data retrieved.
DAM_SUCCESS_WITH_RESULT_PENDING - more data is available and should be retrieved by calling this method again. This will occur for a large LONGVARBINARY data.
DAM_FAILURE - error in getting the data. Most likely the data cannot be converted to the XO_Type asked for.
RETURN
Object The data object. The java type of the data will correspond to the iXoType value. See Table How the methods for Java return a value as an object. A NULL Object is returned if the underlying value is NULL data.

See also

TitleResults for “How to create a CRG?”Also Available inAlert