Kris
Mario Ivankovits wrote:
"There are several circumstances where two different pieces of code can be
inadvertently sharing the same connection ... ."
Is it possible in DBCP ? I believe it will not return the same connection
instance for different threads and will not return
connection to pool before close. Is it used store connections in fields ?
If you configure "abandoned" connections, it is possible, if an application do not pass the connection back within an defined idle-time, that the connection is passed back to the pool automatically, while the application still have the reference to the connection.
I have to convert our application from "single connection" to "connection pooling", while for 90% of the code it is easy possible, if think (know) that there will be "connection leaks" (connections not passed back) within our application for the first few weeks. Therefore i have to use the abandoned-configuration.
However, i any case an "abandoned" connection should not be valid to the application.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- ===================================================== Kris Nuttycombe Associate Scientist Geospatial Data Services Group CIRES, National Geophysical Data Center/NOAA (303) 497-6337 [EMAIL PROTECTED] =====================================================
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]