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:49:34 UTC
[jira] [Commented] (JCR-3810) StreamWrapper can attempt to reset
other types of InputStreams
[ https://issues.apache.org/jira/browse/JCR-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14135554#comment-14135554 ]
Unico Hommes commented on JCR-3810:
-----------------------------------
Fixed in branch 2.6 in revision 1625323.
> StreamWrapper can attempt to reset other types of 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
> Fix For: 2.6.6, 2.8.1, 2.9.1
>
>
> 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)