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

Unclosed prepared statements in SQLStoreQuery.executeUpdate.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.0.1, 1.0.2
    • Fix Version/s: 1.0.3, 1.1.0
    • Component/s: None
    • Labels:
      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

            • Assignee:
              mikedd Michael Dick
              Reporter:
              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