OpenJPA
  1. OpenJPA
  2. OPENJPA-543

Unclosed prepared statements in SQLStoreQuery.executeUpdate.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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).

        Activity

        Michael Dick created issue -
        Michael Dick made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        7m 2s 1 Michael Dick 24/Mar/08 18:45

          People

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

                Development