I have a base class for many other classes. In this base class I have two methods:
which returns the property value whose name is passed through propName.
setProperty(String propName, Object value)
which sets the value of property whose name is passed through propName
I need hibernate to access the properties through these methods for all sub classes.
I came across few interfaces PropertyAccess, PropertyAccessStrategy, Getter, and Setter that seems to be the key for what I need.
I couldn’t find much documentation about them.
Can anyone help me out on how to implement them and to indicate to hibernate to use them.
Thanks in advance.