Issue Details (XML | Word | Printable)

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

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:

Sort Order: Ascending order - Click to sort in descending order
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.

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.