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

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Technical task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.17, 1.4.5, 1.5.5
    • 1.2.18, 1.4.6, 1.5.6, 1.6.0
    • rdbmk
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment