Yes and after closing the connection returns to the connection pool.
Pooled connection closes only if there are no clients that use it.
It depends on JDBC API version, connection is closed in 2.0
but can remain open in 3.0 if keep-alive mechanism is on
No, physical connection remains opened and returned to the connection pool.
This behavior is configured in jdbc.xml file.
It depends on database vendor.
|