[jboss-user] [EJB 3.0] - Re: Using EPC entity manager from a SFSB injected to a SSB

aows do-not-reply at jboss.com
Mon Aug 28 23:38:57 EDT 2006


btw... I tried what i suggested and i get a NullPointerException right when i execute createQuery on the SFSB's entity manager injected in the stateless bean... The same exact code works fine when executed from within the stateful bean.

So, my question is: should it be possible? and if not, what's the best way of using an EPC and daos?

Thanks!

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

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



More information about the jboss-user mailing list