This commit is contained in:
wenshao
2011-12-21 22:36:14 +08:00
parent 5164a4c5ee
commit 903a06aa2e
4 changed files with 32 additions and 4 deletions
@@ -147,10 +147,16 @@ public class MultiDataSourceConnection extends WrapperAdapter implements Connect
@Override
public void close() throws SQLException {
if (closed) {
return;
}
if (conn != null) {
conn.close();
}
this.closed = true;
haDataSource.afterConnectionClosed(this);
}
@Override