reverted connectionproxy

pull/373/head
Nitin 10 years ago
parent 34fa30254f
commit 05a4193b38

@ -177,11 +177,13 @@ public abstract class ConnectionProxy implements IHikariConnectionProxy
{
if (delegate != ClosedConnection.CLOSED_CONNECTION) {
leakTask.cancel();
closeOpenStatements();
try {
closeOpenStatements();
if (isCommitStateDirty) {
lastAccess = clockSource.currentTime();
if (!poolEntry.isAutoCommit) {
delegate.rollback();
LOGGER.debug("{} - Executed rollback on connection {} due to dirty commit state on close().", poolEntry.parentPool, delegate);

Loading…
Cancel
Save