osgi « Eclipse « JPA Q&A

1. OSGi in Eclipse cannot resolve dependencies    stackoverflow.com

I'm working on an OSGi/Equinox plugin and cannot seem to get the Hibernate dependencies working. I've added the Hibernate dependencies to my POM with Eclipse and it has successfully downloaded ...

2. OSGi + JPA(postgresql)    stackoverflow.com

I tried to use JPA in OSGi and faced with this exception:

 javax.persistence.PersistenceException: No Persistence provider for EntityManager named test 
There are simple entity class, file "persistence.xml" in META-INF:
<?xml version="1.0" encoding="UTF-8"?>
<persistence ...