Spring Boot, Transactions, Java, Spring Data.
would trigger the rollback with this. If you just use Transactional annotation by default, transactions are rolled back for unchecked exceptions (RuntimeException and its subclasses). However, with the rollbackFor attribute of @Transactional, you can specify custom rollback rules, indicating which