Some Trials & a lot of Errors
I tried a bunch of framework and other language and I usually feel overwhelm when its time to do something real with what I've learned. So that why I created this site, to write my progress and help some noob like me that stumble into the sames problems.
Browse: Home / MongoTemplate

MongoTemplate

How to remove array element in mongodb in java?

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 | Leave a response

How to update an entry in an array in mongodb with java 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 | Leave a response

Tags

2018 2022 about app apparment arraylist baby blog book books condo date daycare db gifts hibernate ideas inspiration java java.util.List learning linux List mongodb MongoRepository MongoTemplate motivation mysql netstat oracle productivity real estate reviews school Seth Godin sql String struts students The 100 days project The Practice to_date wedding welcome windows

Recent Comments

  • kevin on Oracle have no Boolean, how to fix this

Calendar

July 2022
MonTueWedThuFriSatSun
 123
45678910
11121314151617
18192021222324
25262728293031
« Jun  

Archives

  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • March 2021
  • February 2021
  • May 2020
  • January 2019
  • December 2018
  • July 2018
  • April 2018
  • January 2018
  • October 2014
  • September 2014

Copyright © 2022 Some Trials & a lot of Errors.

Powered by WordPress and Hybrid.