What is Hibernate proxy?

Answered

What is Hibernate proxy?

Ninja Asked on 18th September 2018 in Hibernate.
Add Comment
1 Answer(s)
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.

Ninja Answered on 18th September 2018.
Add Comment