-->
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.  [ 3 posts ] 
Author Message
 Post subject: hibernate-3.2.0.cr1 build-time instrumentation regression?
PostPosted: Mon May 01, 2006 5:24 pm 
Regular
Regular

Joined: Tue Mar 22, 2005 2:27 am
Posts: 62
Hi All,

After upgrading from hibernate-3.1.2 to hibernate-3.2.0.cr1, I hit some problems with lazy loading that I have been trying to track down.

One big difference I have noticed in my debugging that looks fishy is the following:

I have mappings that contain both lazy properties, and lazy many-to-one proxy associations.
In 3.2.0.cr1, all lazy properties *and* lazy many-to-one proxy associations are listed as uninitialized fields in the $CGLIB_READ_WRITE_CALLBACK FieldInterceptorImpl.
This occurs whether many-to-one lazy="proxy" is set explicitly or implicitly (from default), but does not occur when lazy="false" is specified.

In 3.1.2, (as I would expect) only the properties that I have specified as lazy in the mapping file show up as uninitialized fields in the $CGLIB_READ_WRITE_CALLBACK FieldInterceptorImpl, and not the many-to-one associations.

I would expect that only lazy="no-proxy" associations and lazy properties would be affected by the build-time instrumentation.
Is this correct?
If so, please let me know if a JIRA and test case are necessary.

Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 02, 2006 11:18 am 
Regular
Regular

Joined: Tue Mar 22, 2005 2:27 am
Posts: 62
Upon further inspection, I believe that this may in fact be related to http://opensource.atlassian.com/projects/hibernate/browse/HHH-1610.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 03, 2006 9:42 am 
Regular
Regular

Joined: Tue Mar 22, 2005 2:27 am
Posts: 62
Just to simplify my question a bit... should lazy="proxy" associations be showing up in $CGLIB_READ_WRITE_CALLBACK's uninitialized fields?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.