From: Frank G. (JIRA) <no...@at...> - 2006-05-10 20:43:13
|
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 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 |
From: Gavin K. (JIRA) <no...@at...> - 2006-05-28 19:25:19
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1740?page=comments#action_23182 ] Gavin King commented on HHH-1740: --------------------------------- Yes, of course you must include a test case. > 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 > > > 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 |
From: Frank G. (JIRA) <no...@at...> - 2006-05-30 13:59:20
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1740?page=comments#action_23202 ] Frank Grimes commented on HHH-1740: ----------------------------------- Sorry, been kinda hectic around here and we reverted back to hibernate-3.1.2 a few weeks ago upon encountering this issue. (we resigned ourselves to living with HHH-1435 for our upcoming releases) I will try to find time to put a test case together by the end of the week. > 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 > > > 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 |
From: Frank G. (JIRA) <no...@at...> - 2006-06-02 18:55:20
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1740?page=all ] Frank Grimes updated HHH-1740: ------------------------------ Attachment: HHH-1740.diff Attached is a diff of the files I modified under hibernate-3.2.0.cr2/test/org/hibernate/test/instrument to illustrate the problem. Please let me know if you need anything further from me in order to reproduce the problem. Thanks. > 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 |
From: Frank G. (JIRA) <no...@at...> - 2006-07-11 15:42:03
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1740?page=comments#action_23596 ] Frank Grimes commented on HHH-1740: ----------------------------------- FYI, I re-tested with hibernate-3.2.0.cr3 and the problem remains. > 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 |
From: Frank G. (JIRA) <no...@at...> - 2006-07-20 14:10:17
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1740?page=comments#action_23699 ] Frank Grimes commented on HHH-1740: ----------------------------------- Now that I've attached a test case, could this issue at least be added to the 3.2.0.ga (or 3.2.1) JIRA roadmap so that it doesn't slip through the cracks? Or is there still more info required? > 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 |
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 |
From: Frank G. (JIRA) <no...@at...> - 2006-08-02 20:12:14
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1740?page=comments#action_23824 ] Frank Grimes commented on HHH-1740: ----------------------------------- Scott, I tested using the junitinstrument target. I don't think that the junitsingle target calls the instrument target... so that might explain why you aren't getting the failure. In any case, I'll check it out from TRUNK to see if it might have been fixed. (perhaps by HHH-1931) Thanks. > 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 |
From: Frank G. (JIRA) <no...@at...> - 2006-08-02 20:26:14
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1740?page=comments#action_23825 ] Frank Grimes commented on HHH-1740: ----------------------------------- FYI, I am still getting the failure with TRUNK. (running the junitinstrument task) > 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 |
From: Scott M. (JIRA) <no...@at...> - 2006-08-04 15:36:14
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1740?page=all ] Scott Marlow updated HHH-1740: ------------------------------ Attachment: Document.class Attached is the output of instrumenting the class org.hibernate.test.instrument.domain.Document under with the current Hibernate 3.2.x head source. I would like to compare this against the Hibernate 3.1.x class file org.hibernate.test.instrument.domain.Document. > 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: Document.class, 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 |
From: Scott M. (JIRA) <no...@at...> - 2006-08-04 15:39:13
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1740?page=comments#action_23837 ] Scott Marlow commented on HHH-1740: ----------------------------------- Frank, Can you please attach the instrumented class file org.hibernate.test.instrument.domain.Document from the successful hibernate-3.1.2 test run. This file should be in the Hibernate3/build/testclasses/org/hibernate/test/instrument/domain/ folder after running the junitinstrument task. > 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: Document.class, 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 |