I need to do 3 operations (insert into schema A,insert into schema B & insert into schema C)
in DB
Requirement is use to multithread.
Thread A --> Insert into Schema A
Thread B --> Insert into Schema B
Thread C --> Insert into Schema C
Each thread needs to run independently.
But any one of the operation failed (either A or B or C), need to roll back the entire transaction.
Is it possible in multi thread environment (using spring - declrative transactions)?