Hi,
Can anyone explain me ...how the Hibernate proxy exactly works in case of lazy loading?
In one of the video, it has been mentioned that hibernate creates a sub class (proxy) of the actual entity class and returns the object of that proxy class in case of lazy loading. However, I marked my entity class as final ...still the lazy loading works. Also, it passes instanceof check.
Please explain me how this proxy thing actually works.
Thanks,
Chetan