Commons Dbcp
  1. Commons Dbcp
  2. DBCP-405

getAutoCommit in PoolableConnectionFactory

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.1, 1.4.1, 1.5.1, 2.0
    • Labels:
      None

      Description

      In passivateObject() method of PoolableConnectionFactory, getAutoCommit() is called twice. I am working with Sybase JDBC driver, in their implementation, getAutoCommit() makes a call to database so there are two roundtrips to database. I would like to understand if there is anything that prevent you to call getAutoCommit() once and store the result in a local variable to use it again?

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Steeve Beroard
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development