Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-474

Prepared or Callable Statement are not cached in PoolingConnection.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.1
    • 2.2.0
    • None
    • Patch

    Description

      In PoolingConnection, the following methods are not defined.
      -prepareStatement(String sql, int[] columnIndexes)
      -prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
      -prepareStatement(String sql, String[] columnNames)
      -prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
      Therefore, when calling these methods, we can not cache statements.

      I fixed PoolingConnection and PStmtKey in order to cache all of Prepared and Callable Statement.

      Attachments

        Activity

          People

            Unassigned Unassigned
            KeiichiFujino KeiichiFujino
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: