db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DERBY-5985) EmbeddedSimpleDataSource claims to support same properties as EmbeddedDataSource but doesn't
Date Fri, 21 Jun 2013 08:24:21 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Knut Anders Hatlen closed DERBY-5985.
-------------------------------------

    Resolution: Won't Fix

+1 to closing it.
                
> 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

Mime
View raw message