0 Replies Latest reply on Feb 9, 2016 9:35 AM by Karl Nicholas

    create schema scripts not executed if entities and persistence.xml in another jar

    Karl Nicholas Newbie

      I ported Dukes-Store to Wildfly 9.0.2.Final. 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. Any help?