Issue Details (XML | Word | Printable)

Key: NUCMONGODB-122
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Igor Tochansky
Votes: 0
Watchers: 1
Operations

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://github.com/tochansky/test-jdo.git

Severity: Development


 Description  « Hide
MongoDBUtils.getStoredValueForField returns String for Integer argument.
It is because of recently added org.datanucleus.store.types.converters.IntegerStringConverter

git://github.com/tochansky/test-jdo.git


Sort Order: Ascending order - Click to sort in descending order
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