JPA engine features provide the capability
<bundle dependency="true">mvn:org.apache.xbean/xbean-asm5-shaded/4.3</bundle>
<bundle>mvn:org.apache.openjpa/openjpa/2.4.2</bundle>
<capability>
- osgi.service;effective:=active;objectClass=javax.persistence.spi.PersistenceProvider
+ osgi.service;objectClass=javax.persistence.spi.PersistenceProvider;effective:=active;javax.persistence.provider=org.apache.openjpa.persistence.PersistenceProviderImpl
</capability>
</feature>
<feature version="${hibernate.version}">hibernate-orm</feature>
<bundle dependency="true">mvn:net.bytebuddy/byte-buddy/1.6.6</bundle>
<capability>
- osgi.service;effective:=active;objectClass=javax.persistence.spi.PersistenceProvider
+ osgi.service;objectClass=javax.persistence.spi.PersistenceProvider;effective:=active;javax.persistence.provider=org.hibernate.jpa.HibernatePersistenceProvider
</capability>
</feature>
<bundle>mvn:org.eclipse.persistence/org.eclipse.persistence.jpa.jpql/${eclipselink.version}</bundle>
<bundle>mvn:org.apache.aries.jpa/org.apache.aries.jpa.eclipselink.adapter/${aries.jpa.version}</bundle>
<capability>
- osgi.service;effective:=active;objectClass=javax.persistence.spi.PersistenceProvider
+ osgi.service;objectClass=javax.persistence.spi.PersistenceProvider;effective:=active;javax.persistence.provider=org.eclipse.persistence.jpa.PersistenceProvider
</capability>
</feature>
