If you mean use Long.parseLong("") that won't work.  If you mean somehow
change the mapping in the schema, this is not possible, I'm stuck with
the schema I have. Now, finally, if you mean change the way castor
interprets the schema, I know you can use a mapping file, but I'm
working with an exteremly large and complex schema, that's why I'm using
castor default behavior. Is there anyway to tell castor to change the
way it maps only some of the elements, and leave the rest at default
behavior? 




Thanks,
Tim
-----Original Message-----
From: Enrique Rodriguez [mailto:[EMAIL PROTECTED]] 
Sent: Monday, October 14, 2002 3:29 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Is there anyway to make an empty element of
type long?


Use Long warpper Object isntead of long. 
HTH. 
Enrique. 
-----Mensaje original----- 
De: Tim Hollosy [mailto:[EMAIL PROTECTED]] 
Enviado el: viernes, 11 de octubre de 2002 20:29 
Para: [EMAIL PROTECTED] 
Asunto: [castor-dev] Is there anyway to make an empty element of type 
long? 


I've got a situation where I need to make an element of type long, 
empty. So if abc is long: 
<foo></foo> I do this all the time with String elements just by using 
setFoo(""), but as far as I know a long can not be empty. Is it 
possible? 
Thanks 
~~~ 
Tim 
----------------------------------------------------------- 
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