I am using postgres with hibernate and during the close() call from the Jdbc template is called, the connectionClosed() from the event listner is not being called. i see the listener is being invoked from fireConnectionClosed() but this should also be invoked from close() method.
Pretty sure this is a hibernate thing. The JDBC API does not have an event listener interface that fires on connectionClosed.