users@glassfish.java.net

Re: Error deploying web app using JPA

From: <glassfish_at_javadesktop.org>
Date: Mon, 02 Jul 2007 19:09:22 PDT

Thanks. That helped! I must have picked up the META-INF/persistence.xml path from some bad example on the Internet. One more thing I had to do was specify the unitName in the @PersistenceContext annotation, as it was defaulting to <mybean_qualified_name>/em.

Thanks again!
-fawad
[Message sent by forum member 'fawad' (fawad)]

http://forums.java.net/jive/thread.jspa?messageID=224988