By Chris on June 22, 2021
There is a 70 M lottery draw this week plus 70 one million prizes, I know this is no powerball, but here in Canada we are pretty excited. Even my wife is like: “We need to buy a ticket”. And she bought one with her father because 35M is still an insane amount of money. […]
Posted in rant | Tagged lottery |
By Chris on June 17, 2021
In the previous post, we discuss own we change from using mongorepository to using directly mongodb method to access and modify directly the object in db.In this posts we look at code that was deleting with mongorepository and change it to use directly mongodb method with MongoTemplate. Using MongoTemplate is faster and less likely to […]
Posted in java, mongodb, prog, tips | Tagged java, mongodb, MongoRepository, MongoTemplate |
By Chris on June 10, 2021
We had at work a piece of code that was using mongorepository and updating the arrays of the object on a collection instead of using mongodb method directly.The way it was coded had a big issues with concurrency and we were losing update because of it.The problem we had with the way it was updating […]
Posted in java, mongodb, prog, tips | Tagged java, mongodb, MongoRepository, MongoTemplate |
Recent Comments