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-161
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

Add annotation/XML to allow specification of column 'position'

Created: 20/Jan/12 05:10 PM   Updated: 06/Feb/12 10:14 AM   Resolved: 20/Jan/12 05:11 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.6

 Description  « Hide
JDO allows positioning of the columns to be defined (very important for persistence to spreadsheets etc). Need the same flexibility in JPA, so add a custom annotation to do it, and add it to the internal XSD

Andy Jefferson added a comment - 20/Jan/12 05:11 PM
Using annotations the user can add

or attribute "position" in XML

Andy Jefferson made changes - 20/Jan/12 05:11 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 06/Feb/12 10:14 AM
Status Resolved [ 5 ] Closed [ 6 ]