Hi all,
i don't understand the use of the PersistentFieldIntrospectorImpl class.
in the OJB.properties i read:
# - PersistentFieldIntrospectorImpl
# uses JavaBeans compliant calls only to access persistent attributes.
# No Reflection is needed. But for each attribute xxx there must be
# public getXxx() and setXxx() methods.
and in the code i read
org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldIntrospectorImpl
protected PropertyDescriptor findPropertyDescriptor(Class aClass, String
aPropertyName) {
...
pd = info.getPropertyDescriptors();
...
}
when my class extends another class, the introspector don't find the field
from the parent,
-> why don't u use the info.getMethodDescriptors() as mentionned in the
properties file?
how do u do that?
thank for ur help
Remi
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]