From: Scott M. (JIRA) <no...@at...> - 2006-08-02 15:03:16
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1740?page=comments#action_23821 ] Scott Marlow commented on HHH-1740: ----------------------------------- Frank, I applied the testcase patch (against head source) and ran "./build.sh junitsingle -Dtestname=org.hibernate.test.instrument.buildtime.InstrumentTest". The results were: junitsingle: [junit] Running org.hibernate.test.instrument.buildtime.InstrumentTest [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 3.251 sec Could you try the testcase again with the latest Hibernate source (http://www.hibernate.org/6.html#A3) and see if it passes for you also? I also ran the test against the 3.2.0 branch and no failures there either. > Build-time instrumentation breaks lazy="proxy" > ---------------------------------------------- > > Key: HHH-1740 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1740 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.1.3, 3.2.0 cr1, 3.2.0.cr2 > Reporter: Frank Grimes > Priority: Critical > Attachments: HHH-1740.diff > > > I have a mapping that contains a many-to-one lazy="proxy". > This alone works fine: I see $$EnhancerByCGLIB$$ as the type when I do a load > Once I add a lazy property to the mapping and do build-time cglib enhancement, it breaks. > Not only is the lazy property listed in $CGLIB_READ_WRITE_CALLBACK, but also my lazy="proxy" association. (i.e. no more proxy object) > This works fine in hibernate-3.1.2. > This was originally brought up here: http://forums.hibernate.org/viewtopic.php?t=958881 > Please let me know if more info or a test case is needed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |