This is a very newbie question I guess - I am trying to use Spring to get reference to my JPA EntityManager in a application deployed on JBoss. My question is, what JNDI name do I use? Below is some configuration:
My persistence.xml looks like this:
My spring configuration looks like this:
Whenever I try to access the injected entityManager reference from inside dealPersistor bean, I get the following error from JBoss:
Obviously I am not doing some configuration correct...Can someone please help!