Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Connections returned from a connection pool should be "released" instead of closed.
Ultimately the usage of a Pooled connection should be similar to a regular connection.
It can be used in a try-with-resource block, then auto closed. In the case of a pooled connection, that `close()` call should return the connection to the pool.
Related mailing list thread: https://lists.apache.org/thread/jpsg6g3sfspsgfpgn30kx4orspksnzm7