| Hello,
 I read about this level of caching in Hibernate. It's said that whenever I pass an object to save(), update() or saveOrUpdate(), that object will be added to session cache. But when investigating the SessionImpl class of Hibernate, I followed to this chain:
 
 DefaultSaveOrUpdateEventListener : performSaveOrUpdate => entityIsTransient => saveWithGeneratedOrRequestedId
 
 AbstractSaveEventListener : saveWithGeneratedId => performSave => performSaveOrReplicate
 
 EntityIdentityInsertAction : execute
 
 But I don't see any code which responsibility is to put that object to a session cache. Can anyone tell me that?
 
 Thanks,
 HTS
 
 
 |