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: NUCJPA-199
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

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

Support surrogate version for class

Created: 04/Dec/12 09:42 AM   Updated: 31/Dec/12 07:59 PM   Resolved: 04/Dec/12 09:43 AM
Component/s: API
Affects Version/s: None
Fix Version/s: 3.2.0.m2

 Description  « Hide
In JDO the version is defined as a surrogate, so you don't need a particular field to store it (and with DataNucleus we allow it also to be stored in a field of the class). With JPA the version is stored in a field. It would make sense to allow it to be a surrogate also for completeness

Andy Jefferson added a comment - 04/Dec/12 09:43 AM
SVN trunk adds this

Andy Jefferson made changes - 04/Dec/12 09:43 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 31/Dec/12 07:59 PM
Status Resolved [ 5 ] Closed [ 6 ]