1. Preventing proxy initilisation on particular properties forum.hibernate.orgHibernate version: 3.0.3 One of the getter methods of my persistent object simply calls a method on a singleton object, i.e. it does not access any of the class variables. Therefore, this method could work fine if the object is proxied. However, when I call this method on the object's proxy, Hibernate tries to initialise the proxy, and since this call ... |
2. CGLIBLazyInitializer (Proxy) ignores final property methods forum.hibernate.orgHi, Imagine the following class (in Hibernate3 3.1). Code: public abstract class LabelledEntity { private String label; public final String getLabel() { return label; } public final void setLabel(String label) { this.label = label; } } You can "finalize" methods to ensure that ... |