¿¿??
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 <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> On 2/2/06, Martin Perez <[EMAIL PROTECTED]> 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/ - [EMAIL PROTECTED]
> Software craftmanship, JCR consulting, and Java development
>