HI, Arnaud.
My guess is that you need to determine in your java object whether a numeric
value is null or zero.
That means instead of a primitive type long use an object java.lang.Long.
I assume Castor will forward this information to the database automatically.
Hiran
----- Original Message -----
From: "Arnaud BOULAY" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 26, 2003 11:25 AM
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