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

dam_addResultBufferToTable

This method adds multiple rows to the OpenAccess SDK SQL Engine and sets the status in result buffer Status[]. If an error occurs, it sets the error index and returns DAM_FAILURE.
long dam_addResultBufferToTable(
long         hstmt,
ResultBuffer pResBuffer)
Table 124. Parameters for dam_addResultBufferToTable
Parameter
Type
Description
IN
hstmt
long
The statement handle.
pResBuffer
ResultBuffer
The result buffer.
RETURN
int
DAM_SUCCESS - Added the row.
DAM_FAILURE - Failed to add the row.