4 Replies Latest reply on Dec 4, 2006 9:21 AM by straiver

    Getting reference on Persistence Unit

    straiver

      I have 2 jar files. The first one is dao and the second one is domain logic.
      After deployment DAO sets own persistence unit.
      But when I'm trying to get reference on it from domain.jar:

      @PersistenceContext(unitName = "name_from_dao")
      private EntityManager manager;


      Jboss issue is
      Persistence Unit NOTYETINSTALLED

      After putting classes from domain.jar to dao.jar, deployment successful.

      What's the cause of this bug? Maybe I must add someone additional deployment descriptor to domain.jar?