Jan 17th, 2007, 01:19 PM
Thanks for your input, it made me comfortable but below description from hibernate.org "Proxy Visitor Pattern" was really helpful.
In Hibernate, lazy loading of persistent relationships and collections is facilitated by proxies. For example, let's say you have a LooneyBin object that has a collection of Nutter objects that is lazily loaded. If you call looneyBin.getNutters(), Hibernate will only load the ID and version number of the Nutter objects, thus saving all the work of loading individual objects until later. You think you have all the related Nutter objects, but what you really have is a collection of proxies.