Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Jpa CrudRepository saveAll(Iterable<>) vs save()

I have 100 objects say of type SomeObject.java in my couchbase, I am trying to update this all at once by calling saveAll().

And passing a iterable list of updated objects that I fetched from db by calling findById()

Additionally I may also create new objects if that object does not exist in my db.

Somehow saveAll() is not updating my db atall.

CAn I use saveAll() to update list of resources?

Comments