View Query Details Via DataSource-Proxy Library
Description: View the query details (query type, binding parameters, batch size, execution time, etc) via DataSource-Proxy
Key points:
- for Maven, add in
pom.xml
thedatasource-proxy
dependency - create an bean post processor to intercept the
DataSource
bean - wrap the
DataSource
bean viaProxyFactory
and an implementation ofMethodInterceptor