[jboss-user] [EJB 3.0] - Looking up a PU from @PersistenceContext annotation

pete.muir@jboss.org do-not-reply at jboss.com
Wed Jan 7 12:36:20 EST 2009


I have a field/method annotated @PersistenceContext (not on an EJB) that I need to inject. I have full access to the field/method (declared type, annotation), and need a way to get the correct persistence unit from JBoss EJB3. This could be directly (return the correct object) or a JNDI reference.

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

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



More information about the jboss-user mailing list