From: Scott M. (JIRA) <no...@at...> - 2006-08-02 14:00:12
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1585?p= age=3Dall ] Scott Marlow updated HHH-1585: ------------------------------ Attachment: InstrumentTask.patch > An instrumented persistent class reckons that a referenced non persistent= class is also instrumented > -------------------------------------------------------------------------= --------------------------- > > Key: HHH-1585 > URL: http://opensource.atlassian.com/projects/hibernate/browse/H= HH-1585 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.1.2 > Environment: Java 1.4.2, Win2000 > Reporter: Peter Sch=C3=BCtt > Assignee: Scott Marlow > Attachments: InstrumentTask.patch > > > I have a persistent class, which is instrumented because we use access by= field. > This persistent class refers to a non persistent class, which has only pu= blic fields: > public class NonPersistentClass=20 > { > public int field1; > public String field2; > } > This class is not declared in a mapping file and is not instrumented. > ... > The persistent class reckon that "NonPersistentClass" is instrumented. > Decompiled code from Persistent class: > NonPersistentClass obj =3D new NonPersistentClass(); > obj.$cglib_write_field1(1); > ... > String s =3D obj.$cglib_read_field2(); > This is a severe bug. --=20 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 |