jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: DP Persistence manager implementation
Date Fri, 03 Feb 2006 13:29:32 GMT
On 2/3/06, Marcel Reutegger <marcel.reutegger@gmx.net> wrote:
> Przemyslaw Pakulski wrote:
> > Even if usage of connection pool is not reasonable in current design, I
> > think it is worth to consider JDBC batch updates instead of single
> > updates to gain better DBPM performance.
> That's a very good point. We should definitively look into this in more
> detail.

i have considered using batched updates in SimpleDbPersistenceManager
at an early stage but rejected the idea for the generic simple db pm as it
caused interoperability problems with some vendor's jdbc drivers. some
drivers didn't allowed writing blob values within batched updates, others seemed
to have other limitations (e.g. the max #  of batched stmts) etc etc.

if you want to use batched updates i guess you'll have to target a specific
driver/backend, so much for the idea of a vendor-neutral database client api :(


> regards
>   marcel

View raw message