db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bogdan Vatkov" <bvat...@globaltech-bg.com>
Subject Re: Making a null foriegn key
Date Thu, 05 Feb 2004 12:23:33 GMT
use the attribute: defaultJavaType="object"
in the <database> tag
or attribute: javaType="object"
in the corresponding <column> tag
in the <project>-shcema.xml file

note that you will have to set this javaType for both ..the referer column
and the refered column

Regards,
Bogdan

----- Original Message -----
From: "Hassan Abolhassani" <Hassan.Abolhassani@razorfish.co.jp>
To: "Apache Torque Users List" <torque-user@db.apache.org>
Sent: Thursday, February 05, 2004 13:53
Subject: Making a null foriegn key


> How it is possible to set a null foriegn key?
>
> foriegn key field is integer type. Is there a way to do that.
>
> The logic is when something other than null is specified, it should
> exist on forign table. But null is acceptable.
>
> Regards,
> Hassan Abolhassani
>
> ___
>
> Razorfish Japan, Inc.
>
> アボルハッサニ ハッサン   Hassan Abolhassani  [Technology network]
> 株式会社 レーザーフィッシュ・ジャパン
> Hassan.Abolhassani@razorfish.co.jp
> Tel:03-5436-9980 Fax:03-5436-9126
>
>
> ---------------------------------------------------------------------
> 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