mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 16:15:06 +00:00
HHH-5838 - Proxool connection pool should only close pools it opened
This commit is contained in:
parent
3fab254606
commit
90bb8634df
@ -202,7 +202,7 @@ public void close() throws HibernateException {
|
||||
|
||||
// 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user