@Scott:
I think the persistence provider service should be announced/defined in the bundle/jar containing the classes. The containing jar file is hibernate-entitymanager and so I think the service belongs there - this guaranties that the persistence provider is announced once the hibernate-entitymanager bundle is ready and started.
@Steve:
In the first step we only need the service for the persistence provider, so only hibernate-entitymanager needs a way to announce the service. But I haven't looked deeply at hibernate-c3p0 and hibernate-infinispan.
I have also started to migrate my work from branch 4.1 to master - future work will be done against this branch.
@Scott:
I think the persistence provider service should be announced/defined in the bundle/jar containing the classes. The containing jar file is hibernate-entitymanager and so I think the service belongs there - this guaranties that the persistence provider is announced once the hibernate-entitymanager bundle is ready and started.
@Steve:
In the first step we only need the service for the persistence provider, so only hibernate-entitymanager needs a way to announce the service. But I haven't looked deeply at hibernate-c3p0 and hibernate-infinispan.
I have also started to migrate my work from branch 4.1 to master - future work will be done against this branch.