Hello All,

I know that the JBoss EJB3 implementation allows me to use the 
@PersistenceContext annotation in an abstract superclass.

For example:

public abstract class MyAbstractSuperclass implements MyInterface {

        @PersistenceContext()
        EntityManager entityManager;

        // Other code which I have omitted 

}

Can anyone point me to EJB3 documentation which specifies that using the 
@PersistenceContext in an abstract superclass is valid according to the 
specification and will therefore be portable across application servers? 

Many thanks,
Bruce.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961169
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to