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

dam_addLOBLocatorValToRow

This method is used to getting LOB data from the IP, based on a request from the client. The IP calls this method to add the locator value. When a client requests data, OpenAccess SQL Engine invokes dam_addLOBLocatorValToRow, which is then exported from the IP.
int dam_addLOBLocatorValToRow(
long   dam_hstmt,
long   hRow,
long   hCol,
int    iXOType,
Object pColVal,
long   lColValLen)
Table 122. Parameters for dam_addLOBLocatorValToRow
Parameter
Type
Description
INPUT
dam_hstmt
long
The statement handle
hRow
long
The row handle
hCol
long
The column handle
iXOType
int
XO data type of the stream.
pColVal
Object
LOB locator value, for example, File Handle.
IColValLen
long
The LOB locator value length.
RETURN
int
DAM_SUCCESS - added the value to the row.
DAM_FAILURE - error adding the value.