db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2692) Client driver doesn't chain exceptions received from the server
Date Thu, 31 May 2007 09:43:15 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500335

Knut Anders Hatlen commented on DERBY-2692:

I'm not marking the issue as resolved yet, since I think there is one more change that needs
to be made. The embedded driver sets the next exception as cause of the exception with initCause()
as well as with setNextException(). The client driver only uses setNextException() if the
cause is an SQLException. I think the client should do the same as the embedded driver.

> Client driver doesn't chain exceptions received from the server
> ---------------------------------------------------------------
>                 Key: DERBY-2692
>                 URL: https://issues.apache.org/jira/browse/DERBY-2692
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC, Network Client
>    Affects Versions:,,
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>             Fix For:
>         Attachments: d2692.diff, d2692.stat
> When the client driver receives a chain of exceptions from the server, it generates one
exception with the messages from all the server-side exceptions concatenated into one message.
No next-exception chain is set up on the client. See the description of DERBY-1440 for an

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message