Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
Object Relational Mapping
proxy concept in hibernate.
posted 2 years ago
Child is made to load lazy .So when the parent object is fetched , the child object only proxy refernce is created rather than the real child object.
So when the child object is referenced the proxy object db call to fetch the child and hence return the value.
This is the sme concept of AOP proxy where intialy the proxy hit and then proxy actually calls the real method.
I agree. Here's the link:
load() vs get()
Parent constructor calling an overridden method
Hibernate - sometimes returns the object of type java assist
EJB 3.0 Interceptors question