marți, 20 iunie 2023

Debugging (and understanding) Hibernate

Put a breakpoint inside each method of org.hibernate.EmptyInterceptor and hit Debug. 

UPDATE: If we will inspect any Hibernate operation, or more technically chain of Hibernate method calls, we will always find a e method of Interceptor interface (implemented by EmptyInterceptor). In this way placing a breakpoint in EmptyInterceptor methods and inspecting breakpoint neighborhoods will will favor finding the solution.