[ 
https://issues.apache.org/jira/browse/DERBY-4067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676303#action_12676303
 ] 

Kristian Waagan commented on DERBY-4067:
----------------------------------------

My initial fix causes a few tests to fail in J2EEDataSourceTest.
Derby seems to throw two different kinds of exceptions when there is a bad 
attribute in the attribute string:
  o XJ212: Invalid attribute syntax: bad
  o XJ028: The URL 'jdbc:derby://localhost:1527/wombat;bad' is not properly 
formed.

> ClientConnectionPoolDataSource.getPooledConnection and 
> ClientXADataSource.getXAConnection ignore connection attributes
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4067
>                 URL: https://issues.apache.org/jira/browse/DERBY-4067
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions: 10.3.3.0, 10.4.2.0, 10.5.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>
> The methods CCPDS.getPooledConnection and CXADS.getXAConnection fail to pick 
> up attributes set with setConnectionAttributes(String).
> The current regression tests fail to detect this, because they obtain a 
> connection using getConnection(). I'm not sure if this method should be 
> present in a XADataSource at all, but this problem should be addressed by a 
> separate issue.

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

Reply via email to