> Ok, this occurs because EJB3 is now deploying JPA for WARs
> (persistence.xml in WEB-INF/classes/persistence.xml), so that
Missing META-INF?
> Hibernate gets started twice, and so import.sql is run twice.
ALR, is
> it correct that PUs get deployed from inside a war for EJB3? Other EE5
> containers don't do this.
Yes, @see comments in:
http://anonsvn.jboss.org/repos/jbossas/trunk/ejb3/src/main/org/jboss/ejb3...
It's actually the WarStructure that understands it. ;-)
-
http://anonsvn.jboss.org/repos/jbossas/trunk/server/src/main/org/jboss/we...