You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though the org.springframework.data.mongodb.core.query.Update.inc(String, Number) method takes the parameter as Number, it doesn't actually work right with things that aren't simple primitive object wrappers. For example, if you pass in an AtomicInteger, the update fails to execute, as the generated json isn't correct
Affects: 1.7.2 (Fowler SR2)
Issue Links:
DATAMONGO-1302 CustomConversions should allow registration of ConverterFactory
("depends on")
SPR-13938 NumberToNumberConverterFactory should allow usage of AtomicInteger and AtomicLong as source
John K. Watson opened DATAMONGO-1288 and commented
Even though the
org.springframework.data.mongodb.core.query.Update.inc(String, Number)
method takes the parameter asNumber
, it doesn't actually work right with things that aren't simple primitive object wrappers. For example, if you pass in anAtomicInteger
, the update fails to execute, as the generated json isn't correctAffects: 1.7.2 (Fowler SR2)
Issue Links:
("depends on")
Referenced from: pull request #331, and commits ad0c420, 059de55, 0f14e35, f54351d, 06e985e, 576a086
The text was updated successfully, but these errors were encountered: