How to obtain all executed sql statements and execution time in jpa through aop or interceptor,

27 Views Asked by At

Now I am using cat3 for tracking monitoring. I need to track the springboot using jpa and count the execution statements and duration of sql. I have not found a suitable entrance implementation. Do you have any good methods?

I tried using aspect to intercept jpa's execution sql entry, but it never took effect.

0

There are 0 best solutions below