users@glassfish.java.net

Re: Spring 2.0, JPA and Glassfish

From: <glassfish_at_javadesktop.org>
Date: Mon, 18 Jun 2007 10:22:29 PDT

I would expect Glassfish to deploy the persistence unit but in the case that Spring is deploying the persistence unit you may need to list the Entity Classes within the persistence.xml file.
[code]
<persistence-unit name="<PU>" transaction-type="<txn-type>">
<class>package.Item</class>
</persistence-unit>
[/code]
--Gordon
[Message sent by forum member 'gyorke' (gyorke)]

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