spring-hibernate-query-utils
spring-hibernate-query-utils copied to clipboard
Resolves #26 Added HibernateQueryOnRequestResetInterceptor
Resolves #26 Added HibernateQueryOnRequestResetInterceptor which can be used to reset query detection state on each request
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.