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

Feature Request: Filter sql query for count

Open samuelstein opened this issue 4 years ago • 2 comments

would be nice if the query counter could be configured to filter only specific types of sql statements, like INSERT or UPDATE or SELECT.

samuelstein avatar Aug 10 '20 13:08 samuelstein

Hello @samuelstein

I agree, it is a feature I had in mind but didn't have the time to work on it. I think it is an easy PR that could be done by using the prepareStatement interceptor method.

Feel free to try it out!

yannbriancon avatar Oct 09 '20 12:10 yannbriancon

okay, i will give it a try

samuelstein avatar Oct 16 '20 08:10 samuelstein