NPE thrown when connection is null loses root cause
---------------------------------------------------
Key: CAMEL-4533
URL: https://issues.apache.org/jira/browse/CAMEL-4533
Project: Camel
Issue Type: Bug
Components: camel-jdbc
Affects Versions: 2.8.1
Reporter: Stu Churchill
Priority: Minor
Fix For: 2.9.0
When attempting to run a query against a datasource to which a connection could
not be established, the attempt to rollback the transaction (which has not yet
started) causes an NPE to be thrown which loses the root cause exception thrown
by the driver
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira