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

clear batch when closing statement

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.2
    • 1.3
    • None

    Description

      If a statement contains batch statements, these statements should be cleared on close.

      Szenario:
      A pooled statement contains already some batch statements before an error occured. This error will be handled and finally the statement will be closed. Cause, it is a pooled statement the batch statements will be remaining in the pooled statement. On the next request the pooled statement will execute the batch statements from the first request.

      Attachments

        1. DBCP-264-clearBatch.patch
          1 kB
          Niall Pemberton
        2. clearBatchPatch.txt
          0.6 kB
          Phil Steitz

        Activity

          People

            Unassigned Unassigned
            hbmann Hauke Rabe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: