I have a question regarding the CacheEntry.assemble() method and the invocation of the Interceptor.onLoad() method in Hibernate 2.1.3. After CacheEntry assembles the properties of an entity, it calls Interceptor.onLoad(). However, it passes the
Code:
values
parameter to Interceptor.onLoad() as the
Code:
state
argument. The problem I'm seeing is that, while
Code:
assembledProps
contains the loaded collection properties of the entity, the
Code:
values
array does not. In my Interceptor implementation, I'm caching the collections for comparison for entity change auditing. However, all collection properties are null when obtained from the
Code:
state
parameter in my Interceptor.onLoad() method. Is there anything to preclude passing the
Code:
assembledProps
array to Interceptor.onLoad()? Or can you clarify my understanding of the collection loading, or point me to the documentation where I can find more information? Thanks in advance.