You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/09/20 18:42:48 UTC

DO NOT REPLY [Bug 23293] New: - setAutoCommit(true) when returning connection to the pool

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23293>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23293

setAutoCommit(true) when returning connection to the pool

           Summary: setAutoCommit(true) when returning connection to the
                    pool
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Dbcp
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: dirk.verbeeck@pandora.be


>From the Struts user list: [OT] RE: Stackoverflow after DB inactivity 
(MySQL reconnect problem)
http://www.mail-archive.com/mysql@lists.mysql.com/msg70196.html

Giving a hint to the database driver that you don't need long running
transactions makes sense. 

setAutoCommit(true) should be added to PoolableConnectionFactory.passivateObject

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org