spring-hibernate-query-utils icon indicating copy to clipboard operation
spring-hibernate-query-utils copied to clipboard

Resolves #26 Added HibernateQueryOnRequestResetInterceptor

Open Hollerweger opened this issue 3 years ago • 1 comments

Resolves #26 Added HibernateQueryOnRequestResetInterceptor which can be used to reset query detection state on each request

Hollerweger avatar May 18 '21 09:05 Hollerweger

Tried first with using request scope for HibernateQueryInterceptor instead of ThreadLocal but this caused issued with direct repository access in my test setup. I was able to solve the issue with adding the HibernateQueryOnRequestResetInterceptor. See Readme update on how to integrate.

Hollerweger avatar May 18 '21 09:05 Hollerweger