]
Scott Marlow commented on WFLY-6151:
------------------------------------
Thank for reporting this issue Karl! Could you please enable TRACE output for
org.jboss.as.jpa + org.hibernate and recreate both the working + not-working deployments.
Please attach the server.log from each. I think you already know but instructions [for
enabling trace logging are
Schema not generated if Entities and Persistence.xml in another jar
-------------------------------------------------------------------
Key: WFLY-6151
URL:
https://issues.jboss.org/browse/WFLY-6151
Project: WildFly
Issue Type: Bug
Components: EE, EJB, JPA / Hibernate
Affects Versions: 9.0.2.Final
Environment: Wildfly 9.0.2.Final, Windows 10, MySQL 5.6.
Reporter: Karl Nicholas
Assignee: Scott Marlow
I ported Dukes-Store to Wildfly. See [
https://github.com/karlnicholas/dukes-forest]. All
the entities, the persistence.xml, and the sql create.sql scripts are in a jar called
entities.jar. Persistence.xml has javax.persistence.schema-generation properties to create
the schema. If I do 'Run on Server' from eclipse, the schema generation scripts
are executed. If I copy the .war file, or to mvn wildfly:deploy, the scripts are not
executed and the deployment fails.