Spring Boot, Software Engineering, Spring Framework, Api Development, Java Development.
if a RuntimeException.class or error occurs (unchecked exception). ❗️Checked exceptions (Exception.class) aren’t automatically rolled back and for them, we can use the@Transactional attribute rollbackFor, which can be used for all types of exceptions, but it’s good practise to use it only for