r/SpringBoot • • Jan 09 '26

Question @Transactional method

What happen when I run executorsrrvice inside @Transactional method what would you offer like this scenario

2 Upvotes

31 comments sorted by

View all comments

Show parent comment

1

u/christoforosl08 Jan 11 '26 edited Jan 11 '26

Small note on Exceptions:

Spring marks transactions for rollback when an unhandled RuntimeException or Error bubbles up from transactional code, aligning with EJB-style behavior where checked exceptions are treated as recoverable business errors.