|
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 Messages: 72 Registered: July 2009 |
Member |
|
|
Chandre Gowda wrote on Mon, 19 May 2014 06:39Hello,
I have included following jars in bundle's manifest file.
1. org.eclipse.persistence.core
2. org.eclipse.persistence.jpa
3. org.mongodb.mongo-java-driver
4. org.eclipse.persistence.nosql_2.5.1.v20130918-f2b9fc5.jar
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)
Giamma.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03456 seconds