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

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)

Andy Jefferson made changes - 31/May/11 07:56 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Fix Version/s 3.0.0.m5 [ 11242 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 14/Jun/11 12:16 PM
Status Resolved [ 5 ] Closed [ 6 ]