2 Replies Latest reply on Jan 7, 2009 12:53 PM by Carlo de Wolf

    Looking up a PU from @PersistenceContext annotation

    Pete Muir Master

      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.