users@jpa-spec.java.net

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

From: Michael Bouschen <michael.bouschen_at_akquinet.de>
Date: Mon, 5 Dec 2011 23:46:38 +0100

+1

Regards Michael
> 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.
> --Gordon
>
> 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.


-- 
*Michael Bouschen*
*Prokurist*
akquinet tech_at_spree GmbH
Bülowstr. 66, D-10783 Berlin
Fon:   +49 30 235 520-33
Fax:   +49 30 217 520-12
Email: michael.bouschen_at_akquinet.de
Web: www.akquinet.de <http://www.akquinet.de>
akquinet tech_at_spree GmbH, Berlin
Geschäftsführung: Martin Weber, Dr. Torsten Fink
Amtsgericht Berlin-Charlottenburg HRB 86780 B
USt.-Id. Nr.: DE 225 964 680