openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Stultz <>
Subject Re: EntityManager used in multiple threads
Date Thu, 17 Sep 2009 19:22:14 GMT
On Thu, Sep 17, 2009 at 3:19 PM, Michael Dick <>wrote:

> I think Daryl's suggestion of creating an EntityManager for each user is
> your best solution. Having multiple threads access the same EntityManager
> is
> generally not a good idea (easy to shoot yourself in the foot).

It still may be possible with a single user depending on the nature of the
app: start a long process in one window, switch to another to mess with

Daryl Stultz
6 Degrees Software and Consulting, Inc.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message