[jboss-user] [JBoss Seam] - Re: Populate pojoCache from Database at startup

rlhr do-not-reply at jboss.com
Mon Oct 2 10:31:07 EDT 2006


This is the entityManager I use in the application.
Usually I can inject it using the component name, but in this case, since I have the annotation @Intercept(NEVER), I can't do that.

Actually getting the component with a JNDI look up should work.
I didn't even think of it. I get seam makes a lot of things easy and then I don't even think of the obvious.

Thanks.

Richard

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

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



More information about the jboss-user mailing list