users@glassfish.java.net

Re: Glassfish, JPA, can't get it to work.

From: <glassfish_at_javadesktop.org>
Date: Wed, 21 May 2008 10:23:30 PDT

This will give you a completely different setting and no guarantee in participation in the container transactions.

Lookup is an equal replacement for an injection, but you need to declare @PersistenceContext on all components that will call the DAO instance.

Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

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