0 Replies Latest reply on May 12, 2006 5:47 PM by William Conroy

    Pesistence unit in muliple ejb3 files

    William Conroy Newbie

      I have file entities1.ejb3 that contains several annoted entities. I have another file, entities2.ejb3 that contains more entites. I need them to be deployed within the same persistence unit.

      I thought that if I put both .ejb3 files within the same ear, then put my persistence.xml in the META-INF of the ear, then it would be able to find all of my entities. This does not seem to be working.

      Does someone know how to get this to work, or can someone point me to some documentation or examples? I have read the spec but apparently i am not getting it.

      thanks,

      Bo