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: NUCCORE-715
Type: Task Task
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 Core

Handle value-generator "native"/"auto" of wrong type (String instead of numeric, and vice-versa)

Created: 28/May/11 04:37 PM   Updated: 14/Jun/11 12:16 PM   Resolved: 31/May/11 07:56 AM
Component/s: Java Types
Affects Version/s: None
Fix Version/s: 3.0.0.m5

 Description  « Hide
Some store plugins support "native"/"auto" strategy as String-based whereas some use numeric based. We need to ideally support both types dependent on the field type, or alternatively throw a clear error message

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 31/May/11 07:56 AM
SVN trunk now sets the native strategy to use the field type to decide
String => uuid-hex
numeric => increment (if supported)