[hibernate-dev] DefaultLoadEventListener and second level cache

Emmanuel Bernard emmanuel at hibernate.org
Wed Mar 19 09:45:17 EDT 2014


I talked with Guillaume.

TwoPhaseLoad.doInitializeEntity
from initializeEntity
from Loader.initializeEntitiesAndCollections
from Laoder.processResultSet
form Loader.doQuery
from doQueryAndInitializeNonLazyCollections
from doQueryAndInitializeNonLazyCollections
from Persister.load
from DefaultLoadEventListener.loadFromDatasource


On Wed 2014-03-19 11:55, Guillaume Smet wrote:
> Hi,
> 
> 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.
> 
> -- 
> Guillaume
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev


More information about the hibernate-dev mailing list