Karl Nicholas created WFLY-6151:
-----------------------------------
Summary: 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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)