openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Stultz <da...@6degrees.com>
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 <michael.d.dick@gmail.com>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
configuration...

-- 
Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:daryl@6degrees.com

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