Hi Anil,
 How did you do this class definition in your XML schema file? Maybe you had put that 
column as
required="true". 

Best regards,
 Daniel.


--- Anil Kumar <[EMAIL PROTECTED]> wrote:
> Can some one provide a solution.
> 
> There are a few numllable Number columns in the table. I am not able to set
> these columns to
> null.
> 
> For example:
> 
> //
> 
> public  class SelectPhrase
>     extends BaseSelectPhrase
> 
>       public SelectPhrase copy()
> {
>         SelectPhrase selectphrase = new SelectPhrase();
>         selectphrase.setSelectPhraseId(getSelectPhraseId());
>         selectphrase.setName(getName());
>         selectphrase.setEntId(getSelTypeId());
> 
> 
> selectphrase.setDsId((NuumberKey)null); ----------------------------------th
> is line does not work.
> 
>       selectphrase.setNew(true);
>       selectphrase.save();
> }
> 
> Can anyone give a solution please.
> 
> Thanks
> Anil
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-torque-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-torque-user-help@;jakarta.apache.org>
> 


=====
-----------------------------------------
Daniel H. F. e Silva
Analista de Sistemas
SBPI

__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

--
To unsubscribe, e-mail:   <mailto:turbine-torque-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-torque-user-help@;jakarta.apache.org>

Reply via email to