DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCCORE-494
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Erik Bengtson
Reporter: Erik Bengtson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Core

Change signature of store, query, sco package to take ExecutionContext instead of ObjectManager

Created: 20/Mar/10 06:22 PM   Updated: 03/Apr/10 10:45 AM   Resolved: 31/Mar/10 06:18 PM
Component/s: Code Structure
Affects Version/s: None
Fix Version/s: 2.1.0.m1

Issue Links:

 Description  « Hide
As part of the goal to make the packages query, metadata, transaction and store independent of the user API, remove the ObjectManager from the query and uses the ExecutionContext, which is an API used internally to communicate between packages

Change all signatures
Remove the dependencies to ObjectManager where possible in the query, store, sco, mapping packages
Apply the changes to all store.* plugins

Sort Order: Ascending order - Click to sort in descending order
Erik Bengtson added a comment - 21/Mar/10 09:14 PM
drop StorePersistenceHandler
StorePersistenceHandler2 renamed to StorePersistenceHandler
created ObjectProviderFactory temporarily to be used by Store.*. StateManager must not be created by store.*

Erik Bengtson added a comment - 21/Mar/10 09:18 PM
- breaks compatibility of any existing plugin
- StateManager is currently used by a few store.*. Must be removed this dependency

Erik Bengtson added a comment - 21/Mar/10 09:20 PM
- Needs some cleanup of interfaces
- needs documentation of ExecutionContext and ObjectProvider

Andy Jefferson added a comment - 31/Mar/10 05:50 PM
Erik, will this be complete by Friday ? If not then change the Fix Version to 2.1.0 M2

Erik Bengtson added a comment - 31/Mar/10 06:18 PM
The majority of the changes have been done. Work will be completed by more details issues