Hi,

can you supply us with a scenario of what you are trying to do. Iow, show us example code, a mapping file fragment, etc. ?

Werner

Singh, Harjit wrote:
Hi there,

I have castor mapping for a pojo. I'm using Object types instead of
primitive type for Long and Ints. What I'm seeing is that where ever myt
XML doesn't have value for that element which corresponds to the member
by default it is setting it to 0. Is there any way I can specify in the
mapping file that use null as default when there is no value ?

Thanks

- Harjit


This email, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this email is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this email is prohibited. If you have received this email in error, please notify the sender by replying to this message and delete this email immediately.



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email




---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to