On Wed, Jul 1, 2009 at 12:17 PM, Michael Dick <[email protected]>wrote:

> What does myEntity.getEntityManager() return and how is that set into your
> entity (ie is your code managing it, or are getting it from OpenJPA) ?
>

I'm using a thread local variable. I've written a variation of the unit test
that replaces the save() method with direct factory/em handling and em.merge
calls to eliminate the possibility of bad logic in my save() method as well
as my thread local handling. It didn't make any difference. I can post the
other version if you like.


-- 
Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:[email protected]

Reply via email to