persistence@glassfish.java.net

reference to java.beans.Introspector

From: Sanjeeb Kumar Sahoo <Sanjeeb.Sahoo_at_Sun.COM>
Date: Thu, 23 Feb 2006 13:23:38 +0530

Hi Mike,

Section #2.1.1 says the following:
/It is required that the entity class follow the method signature
conventions for JavaBeans read/write
properties (as defined by the JavaBeans Introspector class) for
persistent properties when persistent
properties are used.
/
How is this true when we know that property accessors can be protected?
AFAIK, JavaBeans Introspector does not consider protected accessor
methods while creating PropertyDescriptors for a class.

Thanks,
Sahoo