Java 16+ broke the N+1 query detection, it seems that the proxy's package has changed. I've tested locally and setting the value of [PROXY_METHOD_PREFIX](https://github.com/yannbriancon/spring-hibernate-query-utils/blob/6e5087e00bb115bb58cf849646f932bba713a7a9/src/main/java/com/yannbriancon/interceptor/HibernateQueryInterceptor.java#L38C33-L38C52) to `jdk.proxy2` instead of `com.sun.proxy` in those versions does the trick. I would happily submit a PR that checks the Java runtime version and set the `PROXY_METHOD_PREFIX` accordingly if that's an acceptable solution.