Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » EclipseLink + OSGi
EclipseLink + OSGi [message #559572] Fri, 17 September 2010 05:01
Sir Wayne is currently offline Sir Wayne
Messages: 206
Registered: July 2009
Senior Member
Hello community,

I use Eclipse RCP + EclipseLink. I add the eclipselink.jar and the
javax.persistence.jar in the classpath, it works fine. But now i want to use OSGi Bundles ... I add the Required Plugins
org.eclipse.persistence.jpa and the javax.persistence to my RCP.
I get always the stacktrace :
javax.persistence.PersistenceException: No Persistence provider for EntityManager named default

I started the Bundles like
http://wiki.eclipse.org/EclipseLink/Development/OSGi_Proof_o f_Concept
and in the Manifest i add the entry JPA-PersistenceUnits: default.

Which Bundle i have to add?
What is my mistake?
Previous Topic:[SOLVED]Eclipselink crashing after throw a Database Excetion
Next Topic:Using database defaults
Goto Forum:
  


Current Time: Wed Jul 30 07:12:28 EDT 2014

Powered by FUDForum. Page generated in 0.02730 seconds