'Two concurrent saveAll actions with a unique constraint
I am not using any type of locking. Is it possible that two concurrent saveAll requests trying to save the same set of records could collide with each other and both fail ? There is a unique constraint in the table to avoid duplicacy.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|