[jpa-spec users] [jsr338-experts] Re: updated spec draft: unsynchronized persistence contexts

From: Gordon Yorke <>
Date: Mon, 05 Dec 2011 16:34:06 -0400

We should allow Application Managed Persistence contexts to be specified as UNSYNCHRONIZED to allow those created within the context of a transaction to remain unsynchronized.

On 11/29/2011 4:25 PM, Linda DeMichiel wrote:
>> 3.3.1
>> I'd like your opinion on how we treat application managed persistence contexts. According to 3.3.1, we treat them as SYNCHRONIZED all the time. There is no way to make an application-managed persistence context simulate what a container-managed persistence context. This lack of symmetry makes me uneasy in and of itself but also in the perspective of extending this to the SE world.
>> Any reason why we disallow UNSYNCHRONIZED application-managed persistence contexts?
> Not really. Actually, I'd like to hear from the group as to whether we should extend the spec
> in that direction.