[jboss-jira] [JBoss JIRA] (WFLY-4931) allow loading of Hibernate PersistenceProvider classes that are not listed in META-INF/services/javax.persistence.spi.PersistenceProvider
Scott Marlow (JIRA)
issues at jboss.org
Thu Aug 6 08:43:03 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Marlow closed WFLY-4931.
------------------------------
Resolution: Done
I updated unit test org.jboss.as.test.integration.jpa.cfgfile.CfgFileTestCase (see persistence.xml) to use <provider>org.hibernate.ejb.HibernatePersistence</provider> and that reproduced the failure. I then fixed the failure and we are now passing.
> allow loading of Hibernate PersistenceProvider classes that are not listed in META-INF/services/javax.persistence.spi.PersistenceProvider
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-4931
> URL: https://issues.jboss.org/browse/WFLY-4931
> Project: WildFly
> Issue Type: Bug
> Components: JPA / Hibernate
> Affects Versions: 10.0.0.Alpha5
> Reporter: Hynek Švábek
> Assignee: Scott Marlow
>
> Deprecated PersistenceProviders were removed from services - META-INF/services/javax.persistence.spi.PersistenceProvider
> https://hibernate.atlassian.net/browse/HHH-9141
> https://github.com/hibernate/hibernate-orm/commit/6a6a7c322861d230e124d79d746266aee937c1a6
> With respect to backward compatibility we need load deprecated providers too.
> https://github.com/wildfly/wildfly/blob/master/jpa/subsystem/src/main/java/org/jboss/as/jpa/persistenceprovider/PersistenceProviderLoader.java
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list