Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3809

ConnectionHelper swallows exception when it fails to reset binary streams after a failed SQL statement execution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.5, 2.8, 2.9
    • 2.9.1, 2.6.6, 2.8.1
    • None
    • None

    Description

      In JCR-3318 logic was added to allow resetting of binary streams used as arguments for sql statements. Now when an exception is thrown during sql statement execution an attempt is made to reset these streams. When this does not succeed a RuntimeException is thrown and the original SQLException gets lost. Before throwing the RuntimeException the SQLException should be logged so that it does not get lost.

      Attachments

        Activity

          People

            unico@apache.org Unico Hommes
            unico@apache.org Unico Hommes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: