Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » EclipseLink + OSGi
EclipseLink + OSGi [message #559572] Fri, 17 September 2010 09:01
Sir Wayne is currently offline Sir Wayne
Messages: 210
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: Thu Sep 18 18:00:19 GMT 2014

Powered by FUDForum. Page generated in 0.09662 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software