skip to main content
OpenAccess SDK SQL Engine core methods for Java : Exchanging data : dam_setIP_hcol
 

dam_setIP_hcol

This method is used to associate column-specific information with the corresponding OpenAccess SDK SQL engine column handle. Use this method to associate a column with some data that can be used later when processing values for that column. The saved column-specific information can be retrieved later by calling dam_getIP_hcol.
The column-specific information is an object that can reference any information. Implement your IP to create a vector to store these objects in and then save the index into this vector using this method.
int dam_setIP_hcol(
    long hstmt,
    long hcol,
    long ip_hcol)
Table 236. Parameters for dam_getsetIP_hcol
Parameter
Type
Description
INPUT
hstmt
long
The statement handle.
hcol
long
The column handle.
ip_hcol
long
An index into a vector. The vector stores objects allocated by the IP for storing column-specific information.
RETURN
int
Status of the method call:DAM_SUCCESS - Value is associated.DAM_FAILURE - Error.

See also

*dam_getIP_hcol