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

StreamWrapper can attempt to reset other types of InputStreams

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.5, 2.8, 2.9
    • Fix Version/s: 2.9.1, 2.6.6, 2.8.1
    • Component/s: None
    • Labels:
      None

      Description

      Resetting a StreamWrapper is used when executing a SQL statement failed in order to be able to retry executing the statement.
      Currently it only resets streams of type TempFileInputStream, but can easily attempt to attempt to reset any InputStream whatsoever because the InputStream#reset method specifies that InputStreams should throw an IOException when resetting it is not possible or fails.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: