[jboss-user] [JBoss Seam] - PersistenceException on createEntityManagerFactory while uni

jmalonzo do-not-reply at jboss.com
Mon Jul 24 21:26:51 EDT 2006


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}?

Cheers.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960560#3960560

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960560



More information about the jboss-user mailing list