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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


>From the Struts user list: [OT] RE: Stackoverflow after DB inactivity 
(MySQL reconnect problem)
http://www.mail-archive.com/[EMAIL PROTECTED]/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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to