Issue Details (XML | Word | Printable)

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

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

Allow StoreManager to use some fields with backed SCO wrapper and some fields with simple SCO wrapper

Created: 17/Aug/12 03:18 PM   Updated: 19/Aug/12 09:29 PM   Resolved: 17/Aug/12 03:30 PM
Component/s: Java Types
Affects Version/s: None
Fix Version/s: 3.1.1


 Description  « Hide
In a datastore like RDBMS we always want backed SCO wrappers, whereas with a datastore like Excel we always want simple SCO wrappers. With GAE we need to have backed SCO wrappers (for backwards compatibility) for relation Collections, but really would like to have simple SCO wrappers to support non-relation Collections (e.g Collection<Enum>). The StoreManager should provide a method to override the default behaviour, based on the AbstractMemberMetaData

Andy Jefferson added a comment - 17/Aug/12 03:30 PM
SVN trunk now adds
boolean useBackedSCOWrapperForMember(AbstractMemberMetaData mmd, ExecutionContext ec);

and deprecates
boolean usesBackedSCOWrappers();

Andy Jefferson made changes - 17/Aug/12 03:30 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Fix Version/s 3.1.1 [ 11630 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 19/Aug/12 09:29 PM
Status Resolved [ 5 ] Closed [ 6 ]