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: NUCXML-37
Type: Improvement Improvement
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

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

Support persistence of types as numeric using ObjectLongConverter

Created: 11/Jan/10 04:35 PM   Updated: 18/Dec/13 02:30 PM   Resolved: 18/Dec/13 11:24 AM
Component/s: Persistence
Affects Version/s: None
Fix Version/s: None

 Description  « Hide
We have the ObjectLongConverter mechanism to convert types (such as Date) into a long, and can persist as that. If the type is not persistable by other means we could fall back to this

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 18/Dec/13 11:24 AM
JAXB does the reading of field values direct so there is seemingly no way of controlling what gets stored in XML