True, but my query was when and why do you need to know that? The same problem will be there for any Java application, but I never had to add a special field for each primitive attribute in all my Java beans. Is this functionality needed for JDO? If that is the case, is there any way of turning this off?
 
Thanks,
Choudary.

>>> [EMAIL PROTECTED] 07/06/03 12:42AM >>>


Well...how else do you determine if a Java primitive (int, double,
boolean) was set by the VM or by a call to one of the set methods or
during initialization?

The _has_<field-name> is used to determine if the field actually
contains a value that was set via a call to the set method, or if the
value is simply the default value given to the primitive by the VM.

--Keith

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to