skip to main content
Interface Provider API : Reference : OAIP_startTransaction
 

OAIP_startTransaction

This function is called by the OpenAccess SDK SQL engine to start a new transaction, after any COMMIT or ROLLBACK request to initiate a new transaction. The necessary transaction and lock management code for your data source goes here. This function must return DAM_SUCCESS even if the IP does not support transactions.
int OAIP_startTransaction(
DAM_HDBC dam_hdbc,
IP_HDBC hdbc)
Table 31. Parameters for OAIP_startTransaction
Parameter
Type
Description
IN
dam_hdbc
DAM_HDBC
The connection handle
hdbc
IP_HDBC
A pointer to the connection information maintained by the IP
RETURN
int
DAM_SUCCESS - on success
DAM_FAILURE - on failure