Issue Details (XML | Word | Printable)

Key: JDBC-512
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Mark Rotteveel
Reporter: Mark Rotteveel
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Jaybird JCA/JDBC Driver

Do not call setCause if setLinkedException already called it

Created: 17/Oct/17 03:14 PM   Updated: 03/Jan/18 04:36 PM
Component/s: None
Affects Version/s: Jaybird 3.0.0, Jaybird 3.0.1, Jaybird 3.0.2
Fix Version/s: Jaybird 3.0.3, Jaybird 4

 Description  « Hide
setLinkedException was deprecated in JCA, since Java 1.4 introduced exception causes. The JCA reference implementation does not call initCause from setLinkedException, but it looks like some version of JCA in JBoss did do that.

To preserve compatibility, only call initCause if getCause still returns null.

See also

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.