|Re: Org.eclipse.persistence.jpa deployment issue in VIRGO [message #1366579 is a reply to message #1366494]
||Mon, 19 May 2014 11:27
| GianMaria Romanato
Registered: July 2009
Chandre Gowda wrote on Mon, 19 May 2014 06:39|
I have included following jars in bundle's manifest file.
EclipseLink is more than just JPA, it also supports the Java Connector Architecture specification (which corresponds to the package javax.resource), and it provides JPA-like support for MongoDB via a Java Resource Adapter implementation for MongoDB (provided by EclipseLink).
To be able to use EclipseLink with MongoDB make sure that your bundle repository contains the javax.resource 1.5.0 bundle, which, if I am not mistaken, is included in the standard EclipseLink distribution.
Also, you may need to add javax.resource to your imported packages.
(BTW, you'd better use Import-Package over Require-Bundle, http://wiki.osgi.org/wiki/Use_Import-Package_instead_of_Require-Bundle)
Powered by FUDForum
. Page generated in 0.01798 seconds