> <property name="openjpa.Multithreaded" value="true"/>
Be careful when setting this property as there is at least one known bug[1].

Thanks,
Rick

[1] https://issues.apache.org/jira/browse/OPENJPA-1716

On Wed, Sep 28, 2011 at 9:01 AM, Pinaki Poddar <ppod...@apache.org> wrote:

> Concurrent threads can operate on an OpenJPA EntityManager. However, by
> default,  EntityManager is not thread-safe. Try
> <property name="openjpa.Multithreaded" value="true"/>
>
> Please note that this flag will ensure that OpenJPA will protect all its
> internal data structures for concurrent access. But the persistent entities
> being operated upon are in user control. The user application has to ensure
> their thread-safety.
>
> -----
> Pinaki Poddar
> Chair, Apache OpenJPA Project
> --
>



-- 
*Rick Curtis*

Reply via email to