Why do we use cache in hibernate?



Why do we use cache in hibernate?..

Answer / Abdul Mutlib Khan

Cache is used in Hibernate to improve the performance of frequently accessed data. By storing frequently retrieved or updated objects in memory, Hibernate reduces the need for frequent database queries and improves overall system speed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

How does hibernate?

1 Answers  


How many steps are in orm?

1 Answers  


What is jpql in hibernate?

1 Answers  


Why is sessionfactory immutable?

1 Answers  


What is difference between jdbc and hibernate?

1 Answers  


What is lazy initialization in hibernate?

1 Answers  


What are the disadvantages of hibernate?

1 Answers  


What is a polymorphic association?

1 Answers  


What are session beans?

1 Answers  


What are the steps of calling a stored procedure in hibernate?

1 Answers  


Tell about the core interfaces of the hibernate framework?

1 Answers  


How to integrate Hibernate with Servlet or Struts2 web applications?

1 Answers  


Categories