What do you mean by clustered env. exactly : Jackrabbit cluster, database cluster, other ? Btw, simple db persistence manager don't use autocommit mode, does it mean that it will not work in clustered env ?

Myabe we should add parameter to BundleDB PMs, and use autoCommit mode only in 'clustered environment' to avoid extra overhead in simple deployment.

Przemo

Is there any specific reason why BundlePM keep open connection in
autoCommit mode, then switch on/off this flag during every call of store
method, instead of keeping connection with autoCommit disabled.

hi,
the reason is that in a clustered environment, the 'select' statements
must be committed as well,  otherwise the tables remain locked. and
instead of explicitly commit each time after a read, we used the
autocommit as default and switch it off during store.

regards, toby

Reply via email to