Concept Flow - Transaction management with @Transactional
Start method call
Check for @Transactional
Yes
Open transaction
Execute method code
Method completes?
Commit
Close transaction
Return result
When a method with @Transactional is called, a transaction opens. If the method finishes without error, it commits. If an error occurs, it rolls back.