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

dam_copyRow

This method makes a copy of the input row and returns its handle. The OpenAccess SDK SQL engine allocates the memory that is required by the row and copies all values from the input row. The IP can replace values for some of the columns in the new row by calling dam_addxxxValToRow. The row should be freed if the dam_isTargetRow call fails.
long dam_copyRow(
     long hstmt,
     long hRow)
Table 136. Parameters for dam_copyRow
Parameter
Type
Description
INPUT
hstmt
long
The statement handle.
hRow
long
The row handle for which the values should be copied into the new row.
RETURN
long
The handle to a new row. A 0 is returned if a row could not be allocated.

See also

*dam_addxxxValToRow
*dam_isTargetRow