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

Dag H. Wanvik commented on DERBY-5985:
--------------------------------------

I guess this issue is only relevant for old branches now since the simple data 
source was mainly used by the CDC/Foundation 1.1 code (although it could be 
pressed into service with a full Java SE as well of course). 

Note: It is removed on trunk, but I still fond many references to it in test 
code, e.g. in StoreScriptsTest, junit.JDBCClient, ij2Test and more.

I suggest we close this issue?
                
> EmbeddedSimpleDataSource claims to support same properties as 
> EmbeddedDataSource but doesn't
> --------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5985
>                 URL: https://issues.apache.org/jira/browse/DERBY-5985
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>            Reporter: Dag H. Wanvik
>              Labels: derby_triage10_11
>
> The property "attributesAsPassword (Boolean): Optional"
> is not supported by EmbeddedSimpleDataSource even though its Javadoc says so:
> "EmbeddedSimpleDataSource is Derby's DataSource implementation for 
> J2ME/CDC/Foundation. It is also supports J2SE platforms. Supports the same 
> properties as EmbeddedDataSource, see that class for details. "
> Javadoc for EmbeddedDataSource has this text on the property:
> If true, treat the password value in a DataSource.getConnection(String user, 
> String password), ConnectionPoolDataSource.getPooledConnection(String user, 
> String password) or XADataSource.getXAConnection(String user, String 
> password) as a set of connection attributes. The format of the attributes is 
> the same as the format of the attributes in the property 
> connectionAttributes. If false the password value is treated normally as the 
> password for the given user. Setting this property to true allows a 
> connection request from an application to provide more authentication 
> information that just a password, for example the request can include the 
> user's password and an encrypted database's boot password.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to