[ http://issues.apache.org/jira/browse/DERBY-1586?page=all ]
Knut Anders Hatlen closed DERBY-1586.
-------------------------------------
Fix Version/s: 10.2.0.0
Resolution: Fixed
Derby Info: [Regression] (was: [Patch Available, Regression])
Committed revision 426398.
> The attributesAsPassword property doesn't work correctly with
> EmbeddedConnectionPoolDataSource
> ----------------------------------------------------------------------------------------------
>
> Key: DERBY-1586
> URL: http://issues.apache.org/jira/browse/DERBY-1586
> Project: Derby
> Issue Type: Bug
> Components: JDBC
> Affects Versions: 10.2.0.0
> Reporter: Knut Anders Hatlen
> Assigned To: Knut Anders Hatlen
> Priority: Minor
> Fix For: 10.2.0.0
>
> Attachments: 1586-test.diff, 1586-v1.diff, 1586-v1.stat
>
>
> When attributesAsPassword is true,
> EmbeddedConnectionPoolDataSource.getPooledConnection() appends the default
> password to the connection url. This leads to a malformed url error if the
> password is not on the form "xxx=yyy". If the password is on the form
> "xxx=yyy", it might cause other unexpected consequences (for instance if it
> is "shutdown=true"). This is not a problem with EmbeddedDataSource or
> EmbeddedXADataSource. In Derby 10.1.3.1, it works as expected, so this is a
> regression.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira