JPA-42 Support OSGi in hibernate-jpa-api