skip to main content
IP API Reference for Java : Statement-level Methods for Java : sqlipPrepareToCommit
 

sqlipPrepareToCommit

This function is used for future use for distributed transactions. Distributed transactions are currently not supported.
int sqlipPrepareToCommit(
String pCmdArgs,
xo_int piReadOnly);
 
Table 106: Parameters for sqlipPrepareToCommit 
Parameter
Type
Description
INPUT
 
 
pCmdArgs
String
Transaction ID and other details.
piReadOnly
xo_int
Indicates whether the transaction is read only. Valid values are:
1 - Only read commands have been performed on this transaction.
0 - Data has been modified by this transaction.
RETURN
 
 
 
int
OADS_SUCCESS - transaction is ready.
OADS_ERROR - error was encountered preparing the transaction to commit. If the data source does not support distributed transactions, this is returned.