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:
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:
0 comments:
Post a Comment