That's good to know.
I think the basis of my problem is Tomcat 6 on it's own doesn't support
this?
Eric
--
View this message in context:
http://www.nabble.com/%40PersistenceContext-injection-works-on-other-app-server%2C-not-Tomcat...-tp18350591p18360896.html
Sent from the Tomcat - User maili
ericp56 wrote:
I have the following declaration in my class:
@PersistenceContext(unitName = "CallScheduler")
EntityManagerFactory emf;
If I compile the code in NetBeans/Glassfish, emf is instantiated.
If I compile the code in Eclipse/Tomcat, emf is *not* instantiated - no
errors, other than a
I have the following declaration in my class:
@PersistenceContext(unitName = "CallScheduler")
EntityManagerFactory emf;
If I compile the code in NetBeans/Glassfish, emf is instantiated.
If I compile the code in Eclipse/Tomcat, emf is *not* instantiated - no
errors, other than a NullPointerExcep