For fields that can have the value null, use wrapper classes (Integer, Double) instead 
of Java primitive types.

Leo


-----Original Message-----
From: Arnaud BOULAY [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 5:25 AM
To: [EMAIL PROTECTED]
Subject: [castor-dev] Numeric null value


Hello !
How can I tell Castor XML/JDO to store null value for numeric fields
(int, float) and not 0 if the attribute is not set.
Thanks !
Arnaud

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

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

Reply via email to