Spring MongoDb Update nested object

Hello I would like use this mongo query in spring to change type fields from string to double: db.getCollection("data").update( { "location.latitude": { $type: 2 }, "location.longitude": { $type: 2 } }, [{ $set: { "location.latitude": { $toDouble: "$geolocation.latitude" }, "location.longitude": { $toDouble: "$geolocation.longitude" } } }] ) Model: data class Data( @Id val id: ObjectId,… Read More Spring MongoDb Update nested object

Get rid of spring-boot-starter-data-mongodb dependency on vulnerable Log4J version

Given that Log4J 2.x is suffering from a major remote code execution vulnerability (Check vulnerability), I started taking a look at my project dependencies to see if I use Log4J through e.g. slf4j and luckily I am not. But I found another dependency on Log4J through spring-boot-starter-data-mongodb. Last version of the package was produced on… Read More Get rid of spring-boot-starter-data-mongodb dependency on vulnerable Log4J version