On Fri, Feb 26, 2010 at 6:11 PM, Jukka Zitting <[email protected]> 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.

-Guo

Reply via email to