Issue Details (XML | Word | Printable)

Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

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

Update "native"/"auto" to use "increment" with numeric PK field since MongoDB identity is for String types

Created: 01/Oct/12 03:11 PM   Updated: 26/Oct/12 05:14 PM   Resolved: 01/Oct/12 03:12 PM
Component/s: Persistence
Affects Version/s: None
Fix Version/s: 3.1.3

 Description  « Hide
If we have a numeric field that is marked as "native"/"auto" value strategy then this will try to use "identity" internally, but MongoDB builtin value strategy is for String fields (unlike all other datastores)

Andy Jefferson added a comment - 01/Oct/12 03:12 PM
SVN trunk fixes this

Andy Jefferson made changes - 01/Oct/12 03:12 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 26/Oct/12 05:14 PM
Status Resolved [ 5 ] Closed [ 6 ]