What is Hibernate proxy?
Answered
What is Hibernate proxy?
Best answer
Proxies are classes dynamically generated by Hibernate to help lazy loading. A proxy is a subclass implemented at runtime. Hibernate creates a proxy instead of querying the database directly and the proxy will load the ‘real’ object whenever one of its method is invoked.