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 15:43:33 UTC

[jira] [Commented] (JCR-3809) ConnectionHelper swallows exception when it fails to reset binary streams after a failed SQL statement execution

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

Unico Hommes commented on JCR-3809:
-----------------------------------

Fixed in trunk in revision 1625277.

> ConnectionHelper swallows exception when it fails to reset binary streams after a failed SQL statement execution
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-3809
>                 URL: https://issues.apache.org/jira/browse/JCR-3809
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>    Affects Versions: 2.6.5, 2.8, 2.9
>            Reporter: Unico Hommes
>            Assignee: Unico Hommes
>
> 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. 



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