Register / Login
Win a copy of
Java Concurrency Live Lessons
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Object Relational Mapping
Hibernate second level cache
posted 3 years ago
I came across following statement:
Second level cache is an optional cache and first-level cache(session) will always be consulted before any attempt is made to locate an object in the second-level cache.
Suppose i have enabled 2nd level cache, using EHCache. Now i save an object O by saying session.save(O). The object O is stored in session. Will it also be stored in second level cache.
Thanks in advance.
SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
Boost this thread!
Hibernate Second Level Cache
Advantages of ORM?
Difference between Session Cache for load and query cache ?
Loading proxy without hitting database