Class NonClosingConnectionProxy

java.lang.Object
com.ultikits.ultitools.interfaces.impl.data.NonClosingConnectionProxy
All Implemented Interfaces:
AutoCloseable, Connection, Wrapper

class NonClosingConnectionProxy extends Object implements Connection
A Connection wrapper that suppresses close() during transactions.

QueryRunner calls connection.close() after every operation. During a transaction, we must prevent that since the TransactionManager controls the connection lifecycle.

Since:
6.2.0