While using the DB Access Module for DB2 CLI, the database callbacks are invoked with respect to the allocation and deallocation of the
RWDBDB2CLILibEnvironmentHandle and the
SQLHENV it contains. The connection callbacks are invoked with respect to the allocation, deallocation, connect and disconnect of the
RWDBDB2CLILibSystemHandle and the
SQLHDBC it contains. Please refer to the
DB Interface Module User's Guide for more information.
While using the XA Access Module for DB2 CLI, the callback locations remain the same.