tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46201] jdbc-pool : con.close() should no-op if already closed
Date Thu, 13 Nov 2008 18:09:19 GMT

Filip Hanik <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Filip Hanik <>  2008-11-13 10:09:18 PST ---
By default, the connection pool is stateless, it doesn't keep track of any
connection state. This is for performance purposes to avoid roundtrips to the

There is an interceptor, called ConnectionState,

that can keep track of state, and this one is also optimized to save roundtrips
to the database. so if autocommit hasn't changed, 

To configure the interceptor, one can look at
for an example on how to use the connection state

this bug was fixed in

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message