users@jpa-spec.java.net

[jpa-spec users] [jsr338-experts] Re: unsynchronized application-managed PCs

From: Gordon Yorke <gordon.yorke_at_oracle.com>
Date: Tue, 06 Dec 2011 16:45:49 -0400

This is a well defined component of the annotation; it should be an argument of the API as well.
--Gordon

On 12/5/2011 7:40 PM, Linda DeMichiel wrote:
> It looks like the consensus is that we should add the ability to
> allow application-managed persistence contexts to be specified as
> unsynchronized.
>
> The next issue, of course, is to agree on the API for this.
>
> Does this warrant adding to EntityManagerFactory a createEntityManager method
> that takes a SynchronizationType argument? Or just provide this via a
> property that is passed in the Map argument to createEntityManager?
>