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


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

        

Reply via email to