HHH-5838 - Proxool connection pool should only close pools it opened

This commit is contained in:
Sanne Grinovero 2011-01-13 11:24:48 +00:00
parent 356db47d58
commit 2d4027c3b6
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ public class ProxoolConnectionProvider implements ConnectionProvider {
// We have created the pool ourselves, so shut it down // We have created the pool ourselves, so shut it down
try { try {
ProxoolFacade.shutdown(0); ProxoolFacade.removeConnectionPool(proxoolAlias.substring(PROXOOL_JDBC_STEM.length()));
} }
catch (Exception e) { catch (Exception e) {
// If you're closing down the ConnectionProvider chances are an // If you're closing down the ConnectionProvider chances are an