[hibernate-dev] DefaultLoadEventListener and second level cache

Guillaume Smet guillaume.smet at hibernate.org
Wed Mar 19 06:55:29 EDT 2014


We have a lot of second level cache misses on one of our applications
and I wanted to understand why it was the case. These cache misses
happen even after loading twice the exact same page. They are coming
from entities which are loaded via DefaultLoadEventListener.

I tried to debug it and was looking for the place where the entity is
put in the cache when the DefaultLoadEventListener path is used.

Could someone point me to where we put the entity in the cache so that
I can try debugging further?

Thanks in advance.


More information about the hibernate-dev mailing list