users@glassfish.java.net

Autodiscovery of JPA classes

From: Jose Noheda <jose.noheda_at_gmail.com>
Date: Wed, 10 Sep 2008 21:26:50 +0200

Hi,

When deploying to Glassfish including a persistence.xml in the WAR file
(inside META-INF) only the WEB-INF/classes are discovered by Hibernate. If I
place it in a JAR (later included inside WEB-INF/lib) only the jar classses
are correctly detected. Is there any way to load both?

Regards