[seam-dev] Hibernate 4.0 + Seam 2.x on AS7?

Marek Novotny mnovotny at redhat.com
Wed Jun 8 04:08:35 EDT 2011



On Wed, 2011-06-08 at 13:14 +0530, Jaikiran Pai wrote:
> On Wednesday 08 June 2011 01:09 PM, Emmanuel Bernard wrote:
> >>
> >> Note that the WARN is a bit misleading because (only) the JPA spec
> >> allows the persistence.xml file to be in .war/WEB-INF/classes/META-INF
> >> (section 8.2 of JPA spec). That file infact will be picked up by AS7.
> >> It's just warning that the rest of the metadata should come from
> >> .war/META-INF. The .war/WEB-INF/classes/META-INF location is just for
> >> JPA persistence.xml
> >
> > I'd say the code should be smarter and not throw a WARN if only persistence.xml is in. That's the legal place to put a persistence.xml in a WAR.
> 
> Agreed. I'm looking at changing that WARN as we speak.

Cool, thanks!

> 
> -Jaikiran
> 
> _______________________________________________
> seam-dev mailing list
> seam-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/seam-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.jboss.org/pipermail/seam-dev/attachments/20110608/17936957/attachment.bin 


More information about the seam-dev mailing list