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?
>