[jboss-jira] [JBoss JIRA] (WFLY-6099) JPA's persistence.xml is deployed before datasources are created through application.xml

Stuart Douglas (JIRA) issues at jboss.org
Sun Jan 31 21:06:00 EST 2016


    [ https://issues.jboss.org/browse/WFLY-6099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13156819#comment-13156819 ] 

Stuart Douglas commented on WFLY-6099:
--------------------------------------

This is happening because the depricated provider <provider>org.hibernate.ejb.HibernatePersistence</provider> is listed in persistence.xml

if you delete this line (as hibernate is the default provider) or change it to <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> it should work.

> JPA's persistence.xml is deployed before datasources are created through application.xml
> ----------------------------------------------------------------------------------------
>
>                 Key: WFLY-6099
>                 URL: https://issues.jboss.org/browse/WFLY-6099
>             Project: WildFly
>          Issue Type: Bug
>            Reporter: Renann Prado
>            Assignee: Jason Greene
>
> Please refer to discussion
> https://developer.jboss.org/thread/267371



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list