db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henrik Vendelbo" <hvende...@bluprints.com>
Subject Re: doInsert default column values
Date Wed, 04 Feb 2004 17:11:15 GMT
The date column is already a Date object, so type object shouldnt really
change anything.

----- Original Message ----- 
From: "Felipe Ramos" <framos@tissat.es>
To: "Apache Torque Users List" <torque-user@db.apache.org>
Sent: Wednesday, February 04, 2004 4:59 PM
Subject: Re: doInsert default column values


> For that column, you must put in the schema javaType='object' to allow
> to be null.
>
> If  customer_id  has javaType='object' you must put javaType='object' in
> every  customer_id column in the schema to avoid errors
>
>
> Henrik Vendelbo wrote:
>
> >Apparently fields that have not been assigned a value will get a default
> >one, rather than NULL.
> >
> >Specificly my date columns are assigned todays date, rather than NULL.
> >
> >How do I change this behavior ?
> >
> >Henrik
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> >For additional commands, e-mail: torque-user-help@db.apache.org
> >
> >
> >
> >
>
> -- 
> ------------------------
> Felipe Ramos
> Tissat SA
> C/ Orense 34-9ยช
> 28020 Madrid
> Tel: (+34) 91 4175913
> Fax: (+34) 91 4172914
> Mail: framos@tissat.es
> ------------------------
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message