-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: CacheEntry.assemble() & Interceptor.onLoad
PostPosted: Thu Jul 15, 2004 1:04 pm 
Newbie

Joined: Wed Aug 27, 2003 9:25 am
Posts: 4
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.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 16, 2004 2:53 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Please submit this to JIRA. Sounds like a bug.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.