Get Database Connection with Transaction

Establishes a connection to a database using a specific transaction programming model.

Inputs

Connection pool name
A String that specifies the name of a valid connection pool.

Implicit transaction
A boolean value to indicate the transaction programming model to use for the database associated with the connection. Valid values are:

true
Database uses implicit transaction bracketing

false
Database uses explicit transaction bracketing

Output

Returns a CwDBConnection object.

Notes

This function block is based on the BaseCollaboration.getDBConnection() method. For more information, see getDBConnection().

Copyright IBM Corp. 2003, 2004