[
https://issues.apache.org/jira/browse/DERBY-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750436#action_12750436
]
Kristian Waagan commented on DERBY-4070:
----------------------------------------
This patch can be backported to 10.5 (all tests passed), and I'll check 10.4
too. Are there any objections?
I guess a release note should be written as well.
> Embedded and client data sources throw different exception when a connection
> attribute is badly formatted
> ---------------------------------------------------------------------------------------------------------
>
> Key: DERBY-4070
> URL: https://issues.apache.org/jira/browse/DERBY-4070
> Project: Derby
> Issue Type: Sub-task
> Components: JDBC, Network Client
> Affects Versions: 10.4.2.1, 10.6.0.0
> Reporter: Kristian Waagan
> Assignee: Kristian Waagan
> Priority: Minor
> Fix For: 10.6.0.0
>
> Attachments: derby-4070-1a-ds_exception_handling.diff,
> derby-4070-1b-ds_exception_handling.diff,
> derby-4070-1c-ds_exception_handling.diff,
> derby-4070-1d-ds_exception_handling.diff
>
>
> If a connection attribute is badly formatted, for instance if the attribute
> name is specified without a corresponding value, the embedded and the client
> data sources throw different exceptions:
> o XJ212: Invalid attribute syntax: bad
> o XJ028: The URL 'jdbc:derby://localhost:1527/wombat;bad' is not properly
> formed.
> Currently the only client data source affected is ClientDataSource, but the
> connection pool and XA data sources also have to deal with this issue when
> DERBY-4067 has been fixed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.