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/d-k-Brazz Jan 10 '26

Just so you know

In Spring you should avoid any kind of manual asynchronous execution, you should use proper tools for this - queues, events etc.

Classic (non-reactive) Spring is designed for synchronous execution, while providing you toolkit for properly building asynchronous systems

1

u/iamwisespirit Jan 10 '26

Understandable thank u for clarification for it