6 Replies Latest reply on Apr 10, 2006 8:50 AM by Lisa Dykeman

    Embeddable EJB3 (UnitTest) and @PersistentContext(unitName="

    Ed D Newbie

      It seems when I try to run a unit-test by embeddable EJB3, even with a META-INF/persistence.xml, it does not find the persistence unit "x" when starting up. If I try to run the unit-test with the entity beans and the META-INF/persistence.xml in a JAR, it seems to work fine. Is there some sort of property that can be set, or a better location for the persistence.xml in order for it to be picked up by the embeddable without jarring it up each time?