jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Unico Hommes (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3809) ConnectionHelper swallows exception when it fails to reset binary streams after a failed SQL statement execution
Date Tue, 16 Sep 2014 13:50:34 GMT

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

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

Fixed in 2.6 branch in revision 1625284.

> 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
>             Fix For: 2.6.6, 2.8.1, 2.9.1
>
>
> 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)

Mime
View raw message