users@glassfish.java.net

Re: GF V3 Embedded Container: Problem with JPA, Entity is not managed

From: <glassfish_at_javadesktop.org>
Date: Thu, 11 Feb 2010 22:36:29 PST

Thank you Marina. That solved the problem.

So:
* The find method returns a non-attached entity.
* The transaction context is only valid for methods inside of ejbs

Hey! Now I can run my JUnittests inside the glassfish container. That's great!
[Message sent by forum member 'pepatpx' (prope_at_t-online.de)]

http://forums.java.net/jive/thread.jspa?messageID=386312