r/SpringBoot • u/iamwisespirit • Jan 09 '26
Question @Transactional method
What happen when I run executorsrrvice inside @Transactional method what would you offer like this scenario
2
Upvotes
r/SpringBoot • u/iamwisespirit • Jan 09 '26
What happen when I run executorsrrvice inside @Transactional method what would you offer like this scenario
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
RuntimeExceptionorErrorbubbles up from transactional code, aligning with EJB-style behavior where checked exceptions are treated as recoverable business errors.