[jboss-user] [EJB 3.0] - @PostConstruct throws NPE when EntityManager is used

monkeyden do-not-reply at jboss.com
Wed Nov 1 10:45:29 EST 2006

Has anyone used a workaround for this?  I have a data member which I'm trying to init in @PostConstruct.  My first thought is to just do a lazy initialization if it's null, in the accessor, but I'd prefer to use it in "callback fasion."


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

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

More information about the jboss-user mailing list