You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Unico Hommes (JIRA)" <ji...@apache.org> on 2014/09/16 16:42:33 UTC

[jira] [Created] (JCR-3810) StreamWrapper can attempt to reset plain InputStreams

Unico Hommes created JCR-3810:
---------------------------------

             Summary: StreamWrapper can attempt to reset plain InputStreams
                 Key: JCR-3810
                 URL: https://issues.apache.org/jira/browse/JCR-3810
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
    Affects Versions: 2.9, 2.8, 2.6.5
            Reporter: Unico Hommes
            Assignee: Unico Hommes


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)