adspace
Answer Posted / Satyendra Gupta
Cache in Hibernate is used to store frequently accessed data in memory, reducing the need for database queries and improving performance. It helps minimize the number of times entities have to be retrieved from the database. Hibernate provides several types of caches such as first-level cache (associated with Session objects) and second-level cache (global, persistent across sessions).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers