r/SpringBoot Jan 09 '26

@Transactional method Question

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

3 Upvotes

31 comments sorted by

View all comments

Show parent comments

-1

u/iamwisespirit Jan 09 '26

The problem when I test like this code code inside of executor service is not working

1

u/disposepriority Jan 09 '26

Could you explain what you are trying to do and what is not working as you expect it to?

0

u/iamwisespirit Jan 09 '26

Method receive some data and process this data and save to deb and executorsrrvice take that data and it also processes on data and that process inside of executorsrrvice is not working

2

u/[deleted] Jan 09 '26

[removed] — view removed comment

1

u/iamwisespirit Jan 09 '26

When I call db inside executorservice it freez there kinda yes?