From 2d4027c3b6e4f9771afdf2c80c3568d707143b56 Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Thu, 13 Jan 2011 11:24:48 +0000 Subject: [PATCH] HHH-5838 - Proxool connection pool should only close pools it opened --- .../org/hibernate/connection/ProxoolConnectionProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connection-proxool/src/main/java/org/hibernate/connection/ProxoolConnectionProvider.java b/connection-proxool/src/main/java/org/hibernate/connection/ProxoolConnectionProvider.java index 0792a47e75..8fe8eba04d 100644 --- a/connection-proxool/src/main/java/org/hibernate/connection/ProxoolConnectionProvider.java +++ b/connection-proxool/src/main/java/org/hibernate/connection/ProxoolConnectionProvider.java @@ -201,7 +201,7 @@ public class ProxoolConnectionProvider implements ConnectionProvider { // We have created the pool ourselves, so shut it down try { - ProxoolFacade.shutdown(0); + ProxoolFacade.removeConnectionPool(proxoolAlias.substring(PROXOOL_JDBC_STEM.length())); } catch (Exception e) { // If you're closing down the ConnectionProvider chances are an