Spring @Transactional and Exceptions
Configure automatic rollback for checked exceptions
Published in
2 min readMay 14, 2021
Recently, while I was working on a project I had a strange “bug” (what I thought at first) happen. Apparently, one of my transactions did not automatically rollback after exception was thrown. My whole point of even using @Transactional was to exploit that lovely benefit of having things rollbacked automatically if…