I want to see if my application (written using spring boot) has transaction management enabled.
How can I do this both programmatically and by code inspection (annotations, etc) ?
I want to see if my application (written using spring boot) has transaction management enabled.
How can I do this both programmatically and by code inspection (annotations, etc) ?
You can also use the below snippet inside a transactional method.
TransactionSynchronizationManager.isActualTransactionActive()