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
Operations

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

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 20/Jan/12 05:11 PM
Using annotations the user can add
@ColumnPosition(0)

or attribute "position" in XML