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 14:23:33 UTC

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

Unico Hommes created JCR-3809:
---------------------------------

             Summary: 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.9, 2.8, 2.6.5
            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)