Saturday, 5 September 2015

What is Second level Cache in Hibernate?

This is one of the first interview question related to caching in Hibernate, you can expect few more. Second level Cache is maintained at SessionFactory level and can improve performance by saving few database round trip. Another worth noting point is that second level cache is available to whole application rather than any particular session.

No comments:

Post a Comment