Ehcache, Hibernate First Level and Second Level Cache

Hibernate uses session level cache as first level cache. It works only for a session. It is always enabled.

Ehcache can be used explicitly in JDBC application.
It can also be configured as second level cache in Hibernate configuration. It acts across sessions in the same application.

Refer following videos:








Share on Google Plus

About Admin

Arun is a JAVA/J2EE developer and passionate about coding and managing technical team.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment