Issue Details (XML | Word | Printable)

Key: NUCDBFO-52
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: Raman Gupta
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
DataNucleus Store DB4O (ARCHIVED)

Missing optional import org.datanucleus.api.jdo;bundle-version="3.0.1";resolution:=optional

Created: 11/Dec/11 06:54 AM   Updated: 11/Jan/12 05:29 PM   Resolved: 11/Dec/11 08:36 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Datastore: DB4O


 Description  « Hide
The DB4O store module does not have an import for org.datanucleus.api.jdo;bundle-version="3.0.1";resolution:=optional like, for example, the rdbms module does.

This causes a problem when following the instructions here:

http://www.datanucleus.org/servlet/wiki/display/USERS/HOWTO+Use+Datanucleus+with+OSGi+and+Spring+DM

Andy Jefferson added a comment - 11/Dec/11 08:36 AM
And there's no reason it should have; datanucleus-rdbms DEPENDS on datanucleus-api-jdo for COMPILING. datanucleus-db4o does not.

Andy Jefferson made changes - 11/Dec/11 08:36 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Won't Fix [ 2 ]
Raman Gupta added a comment - 11/Dec/11 09:51 AM
The only bundle that contains the class org.datanucleus.api.jdo.JDOPersistenceManagerFactory is the API bundle.

Since datanucleus-store-db4o needs to load the JDOPersistenceManagerFactory class, it needs an import for the package.

Raman Gupta added a comment - 11/Dec/11 09:55 AM
Never mind, the work-around is to load it from the client bundle.

Andy Jefferson made changes - 11/Jan/12 05:29 PM
Status Resolved [ 5 ] Closed [ 6 ]