2 Replies Latest reply on Dec 30, 2005 9:23 PM by epbernard

    @PersistContext in EntityBean ??

    sventevith

      Is it possible to use EntityManager in EntityBean by using @PersistentContext? My Entity Beans are located in appropriate .par file, not in .ejb3 file. When I use EntityManager thorough @PersistentContext in Session Bean located in .ejb3 file everything is ok, but when I use EntityManager thorough @PersistentContext in EntityBean (located in .par file) reference returned to it is null.