Provides support to increase developer productivity in Java when using MongoDB. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
expected: {"$set"={"levelOne.levelTwo.1.0"="4"}}
but was: {"$set"={"levelOne.levelTwo.1"="4"}}
expected: {"$set"={"levelOne.levelTwo.2.0"="4"}}
but was: {"$set"={"levelOne.levelTwo.2"="4"}}
yes, the last ".0" was lost, but parameter "levelOne.levelTwo.1" will test success.
when add following test code in UpdateMapperUnitTests.java, test would fail for parameter "levelOne.levelTwo.1.0" and "levelOne.levelTwo.2.0".
test result:
yes, the last ".0" was lost, but parameter "levelOne.levelTwo.1" will test success.
the test code was pushed to my repository: https://github.com/juzq/spring-data-mongodb