Showing a Spring transaction in log

前端 未结 7 508
名媛妹妹
名媛妹妹 2020-11-30 19:10

I configured spring with transactional support. Is there any way to log transactions just to ensure I set up everything correctly? Showing in the log is a good way to see wh

7条回答
  •  孤街浪徒
    2020-11-30 19:51

    Because you can access Spring classes at runtime, you can determine transaction status. This article may help you:

    https://dzone.com/articles/monitoring-declarative-transac

提交回复
热议问题