[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: EntityManager throws a nullpointerexception JBOSS 4.2.2G

jaikiran do-not-reply at jboss.com
Mon May 26 10:30:39 EDT 2008


"July Pyrra" wrote :  could it come from the fact that it's injected in a class called by the main class (web service) and therefore not deployed or something like that? 

As long as you are "looking-up" an EJB (in this case the Query EJB), and not creating an instance yourself, the injection should work. That's the reason i was interested in the code which uses this EJB. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153382#4153382

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153382



More information about the jboss-user mailing list