Spring Framework, Spring Boot, Transactions, Transaction Management, Isolation Level.
Read-Only If it is set as true, the transaction is allowed only to read operations, not modify them. The default is always false. @Transactional(readOnly = true) rollbackFor Custom exception. Transaction only triggers rollback when encountering a custom exception. @Transactional(rollbackFor =