What is Hibernate proxy?
An object proxy is just a way to avoid retrieving an object until you need it. Hibernate 2 does not proxy objects by default. However, experience has shown that using object proxies is preferred, so this is the default in Hibernate 3.
Object proxies can be defined in one of two ways. First:
<class name="Location" proxy="com.manning.hq.ch03.Location"...> ... </class>