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)

Reply via email to