This content has been marked as final.
Show 4 replies
-
1. Re: Unknown context variable name: entityManager
perez83 Nov 19, 2008 5:18 PM (in response to stells)try this
@PersistenceContext
EntityManager em; -
2. Re: Unknown context variable name: entityManager
joblini Nov 19, 2008 5:48 PM (in response to stells)Or
EntityManager entityManager = (EntityManager) Component.getInstance("entityManager", true);
-
3. Re: Unknown context variable name: entityManager
stells Nov 20, 2008 8:16 AM (in response to stells)Thank you for your reply, ben abdallah Firas :)
-
4. Re: Unknown context variable name: entityManager
stells Nov 20, 2008 8:18 AM (in response to stells)Thank you for your advice, Ingo Jobling! :)
Now, without those warnings, my life is better ! :)