HibernateBundleActivator does not property fill javax.persistence.provider

Description

The class org.hibernate.osgi.HibernateBundleActivator export HibernateBundleActivator as persistence provider class whereas it should export org.hibernate.jpa.HibernatePersistenceProvider

Now:
properties.put(
"javax.persistence.provider",
HibernateBundleActivator.class.getName() );

Should be:
properties.put(
"javax.persistence.provider",
HibernatePersistenceProvider.class.getName() );

Unless I missing something.

Environment

None

Status

Assignee

Brett Meyer

Reporter

Luca Burgazzoli

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure