You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2008/04/30 10:49:55 UTC
[jira] Commented: (JCR-1562) JNDI data sources with various
PersistenceManager: wrong default values
[ https://issues.apache.org/jira/browse/JCR-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593266#action_12593266 ]
Thomas Mueller commented on JCR-1562:
-------------------------------------
I agree, the default value for user name and password should be null (or an empty string if the database doesn't support that).
> JNDI data sources with various PersistenceManager: wrong default values
> -----------------------------------------------------------------------
>
> Key: JCR-1562
> URL: https://issues.apache.org/jira/browse/JCR-1562
> Project: Jackrabbit
> Issue Type: Bug
> Affects Versions: core 1.4.2
> Reporter: Sven Rieckhoff
>
> With JCR-1305 Jackrabbit supports creating a connection throug a JNDI Datasource and without configuring user and password. This works for some but not all provided PersistenceManagers. Some of them - like the Oracle-specific BundleDBPersistenceManager - sets default values for user and password if none are provided in the jackrabbit config. This way its impossible to use such PersistenceManagers with the plain JNDI DS.
> This concerns the following BundleDbPersistenceManagers: OraclePersistenceManager, DerbyPersistenceManager, H2PersistenceManager.
> There also might be other PMs (perhaps some special SimpleDbPersistenceManagers) with similar behaviour.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.