jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Perez <mper...@gmail.com>
Subject Re: DP Persistence manager implementation
Date Thu, 02 Feb 2006 13:21:31 GMT
¿¿??

Maybe I have not explained myself very well. I'm refering to something like
this:

   <PersistenceManager
class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
       <param name="dataSource" value="jdbc/JackrabbitDS"/>

       .... think also about a way to pass params to data source, it
should be simple ....

       <param name="schema" value="mysql"/>
       <param name="schemaObjectPrefix" value="${wsp.name}_"/>
       <param name="externalBLOBs" value="false"/>
   </PersistenceManager>

It seems easy for me, and it should be also fairly easy to use. The
DataSource provides automatically connection pooling and it does not have
any API dependencies.

Martin

On 2/2/06, Jukka Zitting <jukka.zitting@gmail.com> wrote:
>
> Hi,
>
> On 2/2/06, Martin Perez <mpermar@gmail.com> wrote:
> > why about allowing the definition of a DataSource reference instead of
> > having to hardcode JDBC URLs?
>
> The current Jackrabbit configuration mechanism only allows string
> configuration parameters for the persistence managers. This
> essentially restricts us to use the JDBC URLs. There has been
> discussion about a more flexible configuration mechanism, but this is
> not an immediate goal.
>
> BR,
>
> Jukka Zitting
>
> --
> Yukatan - http://yukatan.fi/ - info@yukatan.fi
> Software craftmanship, JCR consulting, and Java development
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message