Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1266 DocumentStore implementation for relational databases
  3. OAK-4557

RDBPreparedStatementWrapper: do not hide implementation bugs

    XMLWordPrintableJSON

    Details

    • Type: Technical task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.17, 1.4.5, 1.5.5
    • Fix Version/s: 1.2.18, 1.4.6, 1.5.6, 1.6.0
    • Component/s: rdbmk
    • Labels:
      None

      Description

      RDBPreparedStatementWrapper.close() currently calls close() on associated results sets.

      This is correct per JDBC spec, but hides implementation problems in the underlying data source, thus is not helpful for testing.

      Also add a unit test that observes whether the given PreparedStatement properly closes an associated ResultSet. (see https://bz.apache.org/bugzilla/show_bug.cgi?id=59850)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                reschke Julian Reschke
                Reporter:
                reschke Julian Reschke
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: