I am looking for a development of a transaction framework, which needs to update the database tables concurrently.
In simple words, a single transaction should update concurrently around 8 independent tables, and the whole transaction should fail if any update thrown error.
Is there any way I can handle it concurrently,
Ie, 10 Threads update 10 Tables and if any update fails all the update should rollback.
Is there any framework which allows to me handle this scenario.
If you use JTA or Spring transaction which will be shared by same connection and defeat the purpose of concurrent update.
Or any way I can write using custom thread based solution.