users@glassfish.java.net

Re: persistence.xml in ear

From: <glassfish_at_javadesktop.org>
Date: Thu, 14 Jan 2010 22:57:46 PST

Thanks everyone.

In section "6.2 Persistence Unit Packaging" of JSR 220 say clarity:
"A persistence unit may be packaged within one or more jar files contained within a WAR or EAR ...."

I was confused, because in "6.2.2 Persistence Unit Scope" say that "An EJB-JAR, WAR, application client jar, or EAR can define a persistence unit". This last premise confused me, possible influenced by this large and hard working day;

Thank's ljnelson, Arif, Felipe and Marina
[Message sent by forum member 'angelcervera' (angelcervera_at_silyan.com)]

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