Hi,
I'm using Hibernate 3.0.x and have the following problem:
I have a mapping like this:
Code:
<class name="de.abc.Customer" proxy="de.abc.ICustomer">
...
...
<property name="cs_deleted" access="field">
<column name="CS_DELETED"/>
</property>
</class>
where Customer implements the interface ICustomer.
There doesn't exist a setter method for the cs_deleted field because this field shouldn't be modified by any user.
Does there exist a method to get the target object of a proxy? Because I want to use reflection to set the cs_deleted flag and I can't do that on the proxy class ICustomer$$EnhancerCGLIB$$.
Thanks in advance,
Joern