jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guo Du <mrdu...@gmail.com>
Subject Re: [jr3] Synchronized sessions
Date Fri, 26 Feb 2010 20:55:19 GMT
On Fri, Feb 26, 2010 at 6:11 PM, Jukka Zitting <jukka.zitting@gmail.com> wrote:
> All we're trying to achieve here is ensure internal consistency even
> when clients do something like the above (for whatever reason,
> intentional or not).

jdbc connection is not thread safe.

jcr session works similar way and I prefer follow the same pattern.

We should promote developer to do the right thing instead of
technically encourage them to do bad design. Shared session is only
useful for read access in some case, if it's related to write, should
not share the session.


View raw message