refactor connection reset

This commit is contained in:
wenshao
2011-11-28 17:06:03 +08:00
parent c6ce167b08
commit a9867d015d
3 changed files with 10 additions and 9 deletions
@@ -131,7 +131,6 @@ public class PoolableConnection implements PooledConnection, Connection {
listener.connectionClosed(new ConnectionEvent(this));
}
holder.reset();
holder.getDataSource().recycle(this);
this.holder = null;