[jboss-user] [EJB 3.0] - PostConstruct method

yevgeny do-not-reply at jboss.com
Fri May 2 13:34:12 EDT 2008

I have a very simple question. Can  a PostConstruct method use EntityManager to access DB?
Currently, on a Stateless bean my PostConstruct method gets a NullPointerException when tries to do it. 
I wonder if it is a bug in JBoss or I am not supposed to do it.

Thank you,

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

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

More information about the jboss-user mailing list