2 Replies Latest reply on Jul 25, 2006 12:18 AM by Basel Al-Mustafa

    PersistenceException on createEntityManagerFactory while uni

    Jan Alonzo Newbie

      Hi! I'm using Chapter 12 of the Seam reference manual as a guild for unit testing my seam components, specifically section 12.1 where one uses an application-managed EM. But everytime I run TestNG (using the eclipse plugin), I'm getting this error:

      javaxpersistence.PersistenceException: No Persistence Provider for EntityManager Named TestDS.

      Is there an additional setup that I'm missing here? How can I instruct javax.persistence.Persistence to look for my persistence.xml in ${META-INF}?