Find the difference
1.) Use of NESTED Transaction
Perform inside a nested transaction, if the current transaction exists, behave like PROPAGATION_REQUIRED else. Nested transaction supported by Spring
2.) Using the REQUIRED Transaction Support the current transaction, create a new one if it does not exist. , This means for a banking domain, such as withdrawals, deposits, transaction updates
3.) Using transaction REQUIRES_NEW Create a new transaction and pause the current transaction, if it exists.
Ankit Dec 04 '15 at 5:45 2015-12-04 05:45
source share