The PoolTransactionBehaviour enumeration describes desired ConnectionManager action when the server attempts to release connection that is still in transaction (ie connection assotiated with not closed transation).

Note: In most cases an attempt to release a connection with an active transaction is the mark of some serious bug in the server code.


Value Description
Commit Automatically commit the unclosed transaction
Custom Allow server application to handle the transaction via the ConnectionManager event handler
Fail Rais an exception in case of an attempt to release a connection with still active transaction
Nothing Ignore the still active transaction and release connection anyway. Please note that this will lead to resource leaks and undefined behavior when this connection will be acquired from the connection pool later
Rollback Automatically rollback the unclosed transaction