Transactions, Spring.
line user.setMobile("12345678"); //below line not executed userRepository.save(user)} } However, the transaction is not rolled back for the Checked Exceptions. Consider the following code snippet. In the case of the checked exception below, the user mobile number is set to 12345678 but the