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:44:33 UTC

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

    [ https://issues.apache.org/jira/browse/JCR-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14135543#comment-14135543 ] 

Unico Hommes commented on JCR-3810:
-----------------------------------

Fixed in trunk in revision 1625321.

> 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.6.5, 2.8, 2.9
>            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)