[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1585?page=all ]
Steve Ebersole closed HHH-1585:
-------------------------------
Resolution: Duplicate
Exactly. This is one of the situations that was fixed as part of the mods for HHH-1931
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/HHH-1585
Project: Hibernate3
Type: Bug
Components: core
Versions: 3.1.2
Environment: Java 1.4.2, Win2000
Reporter: Peter Schütt
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 public fields:
public class NonPersistentClass
{
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 = new NonPersistentClass();
obj.$cglib_write_field1(1);
...
String s = obj.$cglib_read_field2();
This is a severe bug.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira