What is the use of hibernate proxy in hibernate?



What is the use of hibernate proxy in hibernate?..

Answer / Mohd Rizwan

Hibernate uses proxies to handle lazy loading of objects. When you access a property of a lazy-initialized object, Hibernate automatically creates a proxy instance for that object and loads it from the database when needed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

Explain the types of hibernate instance states.

1 Answers  


How many types of transaction are there in hibernate?

1 Answers  


How to integrate hibernate and spring?

1 Answers  


What is hibernate qbc api?

1 Answers  


What is mapping in coding?

1 Answers  


What is the need of hibernate tools when orm tools can be used?

1 Answers  


What is hibernate configuration file?

1 Answers  


What is hibernate and how it works?

1 Answers  


How many types of association mapping are possible in hibernate?

1 Answers  


What is the difference between merge and persist in hibernate?

1 Answers  


What are pojos and what’s their significance?

1 Answers  


What is mapping class in hibernate?

1 Answers  


Categories