Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-543

Unclosed prepared statements in SQLStoreQuery.executeUpdate.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 1.0.1, 1.0.2
    • 1.0.3, 1.1.0
    • None
    • None

    Description

      SQLStoreQuery.executeUpdate only closes its prepared statements if an exception occurs. We should close the prepared statements immediately since they will tie up database resources (ie Oracle cursors).

      Attachments

        Activity

          People

            mikedd Michael Dick
            mikedd Michael Dick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified