From: <no...@at...> - 2006-03-22 04:17:58
|
An instrumented persistent class reckons that a referenced non persistent c= lass is also instrumented ---------------------------------------------------------------------------= ------------------------- Key: HHH-1585 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH= -1585 Project: Hibernate3 Type: Bug Components: core =20 Versions: 3.1.2 =20 Environment: Java 1.4.2, Win2000 Reporter: Peter Sch=C3=BCtt I have a persistent class, which is instrumented because we use access by f= ield. This persistent class refers to a non persistent class, which has only publ= ic 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 |