Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not call setCause if setLinkedException already called it [JDBC512] #548

Closed
firebird-issue-importer opened this issue Oct 17, 2017 · 4 comments

Comments

@firebird-issue-importer

Submitted by: @mrotteveel

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 #16

Commits: cb14b06 6576ad2

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 17, 2017

Modified by: @mrotteveel

Version: Jaybird 3.0.2 [ 10840 ]

Version: Jaybird 3.0.1 [ 10831 ]

Version: Jaybird 3.0.0 [ 10440 ]

Version: Jaybird 2.2.13 [ 10805 ]

Version: Jaybird 2.2.12 [ 10781 ]

Version: Jaybird 2.2.11 [ 10751 ]

Fix Version: Jaybird 3.0.3 [ 10852 ]

Fix Version: Jaybird 2.2.14 [ 10820 ]

Fix Version: Jaybird 4 [ 10441 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 17, 2017

Modified by: @mrotteveel

Version: Jaybird 2.2.13 [ 10805 ] =>

Version: Jaybird 2.2.12 [ 10781 ] =>

Version: Jaybird 2.2.11 [ 10751 ] =>

Fix Version: Jaybird 2.2.14 [ 10820 ] =>

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 17, 2017

Modified by: @mrotteveel

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 3, 2018

Modified by: @mrotteveel

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants