Issue Details (XML | Word | Printable)

Key: NUCCORE-129
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

DataFederation : Definition of classes (and objects) to be managed by particular datastores

Created: 10/Oct/08 02:33 PM   Updated: 24/Jul/12 03:50 PM   Resolved: 23/Jul/12 03:26 PM
Component/s: Datastore Support
Affects Version/s: None
Fix Version/s: 3.1.0.release

Issue Links:
Depend


 Description  « Hide
When we have NUCCORE-128 then the user needs to define which classes (and maybe down to which objects) are persisted to which of the available federated datastores.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 29/Jan/11 07:50 PM
Simplest definition would be to persist some classes to a secondary datastore. For example

@PersistenceCapable
@Extension(vendorName="datanucleus", key="datastore", value="ds2")
public class MyClass

so all instances of MyClass are persisted to datastore "ds2", where this name is defined in a persistence property
datanucleus.datastore.ds2={props_file_name_for_this_datastore}

Andy Jefferson added a comment - 23/Jul/12 03:26 PM
SVN trunk has this