Hi,

> Right the thing is that I think the Bundle is faster at least according to
> the wiki though I would also have to look at the code.

Sorry, I should have added the package name:

org.apache.jackrabbit.core.persistence.bundle.PostgreSQLPersistenceManager

> it can get the connection from JNDI and just work

You can use JNDI with the
org.apache.jackrabbit.core.persistence.bundle.PostgreSQLPersistenceManager
by using the following parameters:

<PersistenceManager
class="org.apache.jackrabbit.core.persistence.bundle.PostgreSQLPersistenceManager">
  <param name="driver" value="javax.naming.InitialContext" />
  <param name="url" value="java:comp/env/jdbc/Test" />
...

But you need to know the database type. Auto-configuration
(automatically using the correct persistence manager subclass) would
be a cool feature I agree. Could you log a feature request in JIRA
(http://issues.apache.org/jira/browse/JCR)? I will update the wiki
docs.

Regards,
Thomas

Reply via email to