On 8/31/07, Stefan Guggisberg <[EMAIL PROTECTED]> wrote: > > On 8/30/07, Jacco van Weert <[EMAIL PROTECTED]> wrote: > > On 8/30/07, Stefan Guggisberg <[EMAIL PROTECTED]> wrote: > > > > > > > Yes, some actions are done by the admin session.... I guess I should > > synchronize on the admin session? > > yes. javax.jcr.Session is, per spec, not thread-safe. while sharing a > read-only session among multiple threads could probably work (yet > untested), > sharing a r/w session might lead to corrupt data.
Ok, that's clear and I can understand why. Anyway it should be nice to have some sort of repair option, because programming error's can occur :-) and corrupt databases are very hard to explain. > > cheers > stefan Thanks for the help. Jacco
