Retrieves the transaction programming model that the map instance uses for any connection it obtains.
Syntax
boolean implicitDBTransactionBracketing()
Parameters
None.
Return values
A boolean value to indicate the transaction programming model to be used in all database connections.
Notes
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.
Examples
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);
See also