Hi,
I'm currently a bit puzzled since I don't get to work what yesterday has
already.
As I understand it should be possible to lookup an EntityManagerFactory via
JNDI as
java:comp/env/persistence/PersistenceUnit/xxx
- but I just can't get that to work.
My persistence.xml has
On Oct 15, 2008, at 10:13 AM, Jan Kriesten wrote:
Hi,
I'm currently a bit puzzled since I don't get to work what yesterday
has already.
As I understand it should be possible to lookup an
EntityManagerFactory via JNDI as
java:comp/env/persistence/PersistenceUnit/xxx
The official
Hi Scott,
Technically, the persistence.xml scanning does not automatically
populate JNDI with the EntityManager. It populates an app-server
dependent space (in Resin it's WebBeans) that's available for
injection using @PersistenceUnit and @PersistenceContext.
the wiki on