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)

Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Igor Tochansky
Votes: 0
Watchers: 1

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

java.lang.Integer is saved in MongoDB as java.lang.String

Created: 04/Jun/13 04:06 PM   Updated: 10/Jun/13 09:45 AM   Resolved: 08/Jun/13 09:55 AM
Component/s: Persistence
Affects Version/s: 3.2.1
Fix Version/s: 3.2.2

Environment: git://

Severity: Development

 Description  « Hide
MongoDBUtils.getStoredValueForField returns String for Integer argument.
It is because of recently added


Andy Jefferson added a comment - 08/Jun/13 09:55 AM
Likely works with SVN trunk, but then your test has no "assert"s defined so isn't actually checking anything as such

Andy Jefferson made changes - 08/Jun/13 09:55 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.2.2 [ 11960 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 10/Jun/13 09:45 AM
Status Resolved [ 5 ] Closed [ 6 ]