Yes, you are right thanks a lot ! to sum up, all data managed by Castor should be a class !!!
Rhett, I don't understand the has...() method, can you tell me more please. regards, Arnaud -----Message d'origine----- De : Hiran Chaudhuri [mailto:[EMAIL PROTECTED] Envoy� : mercredi 26 f�vrier 2003 11:42 � : [EMAIL PROTECTED] Objet : Re: [castor-dev] Numeric null value 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 ----------------------------------------------------------- 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
