[jboss-user] [EJB 3.0] - EntityManager is null

2008-02-14 Thread kgreene
Hi, I'm trying to create a class that does database retrieval using entity manager. When I call getVpInfo, I notice that the entity manager is null. I need to access this dao from another class in my app. I am not accessing the dao from the client-side code. Does anyone know why the entity man

[jboss-user] [EJB 3.0] - entityManager is null

2007-03-07 Thread LGSW_Sam
Hi! using jbossas 4.0.5.ga-ejb3 and hibernate 3.2. I keep getting nullPointer exception with this class. I have checked that entityManager is null. same kind of injecting the PersistenceContext works fine with several other classes.. I have tried without unitName but we have several persistenc