adspace


What is first level cache in hibernate?

Answer Posted / Mukesh Chandra

"First Level Cache" in Hibernate refers to a cache that stores entity instances loaded from the database within the current Hibernate Session. It's a cache specific to each session and gets flushed (i.e., cleared) when the session is closed or terminated. The First Level Cache improves performance by reducing the need for repeated trips to the database for the same data during the lifetime of a session.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is latest hibernate version?

493