I'm trying to intercept flushStatements() using plugin. The interceptor works fine when the method is called directly (i.e. session.flushStatements() ). The issue is that it isn't intercepted when flushStatements is called from executor, i.e. from commit method.

Comment From: Kamaruni

I'm facing a similar problem. I'm trying to intercept both versions of "query" in Executor.class. The interceptor works for the basic query, but when executing the nested selects from the result map, the interceptor is not called again. Apparently the ResultLoader receives the actual Executor on creation, not the proxied one which would call the interceptor.

Comment From: debackce

Is there any news regarding this issue ? I'm facing exactly the same. My interceptor is not called when using nested queries.

Thanks