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