boolean implicitDBTransactionBracketing()
None.
A boolean value to indicate the transaction programming model to be used in all database connections.
The implicitDBTransactionBracketing() method returns a boolean value indicates which transaction programming model the map instance assumes is used by all connections that it obtains, as follows:
This method is useful before obtaining a connection to see whether the current transaction programming model is appropriate for that connection.
The following example ensures that map instance uses explicit transaction bracketing for the database associated with the conn connection:
if (implicitDBTransactionBracketing()) CwDBConnection conn = getDBConnection("ConnPool", false);