db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-5985) EmbeddedSimpleDataSource claims to support same properties as EmbeddedDataSource but doesn't
Date Wed, 07 Nov 2012 03:04:12 GMT
Dag H. Wanvik created DERBY-5985:
------------------------------------

             Summary: 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


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