[jboss-jira] [JBoss JIRA] (WFLY-6151) Schema not generated if Entities and Persistence.xml in another jar
Karl Nicholas (JIRA)
issues at jboss.org
Tue Feb 9 10:16:01 EST 2016
[ https://issues.jboss.org/browse/WFLY-6151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Nicholas updated WFLY-6151:
--------------------------------
Attachment: server-unsuccessful-mvn-wildfly-deploy-or-copywarfile.log
server-successful-eclipse-runonserver.log
Two server logs with TRACE enabled. One successful when 'Run On Server' from JBoss Developer Studio and one unsuccessful when mvn wildfly:deploy or just copying the .war file.
> 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
> Attachments: server-successful-eclipse-runonserver.log, server-unsuccessful-mvn-wildfly-deploy-or-copywarfile.log
>
>
> 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)
More information about the jboss-jira
mailing list