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" <[EMAIL PROTECTED]>
To: "Apache Torque Users List" <[EMAIL PROTECTED]>
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]
> 株式会社 レーザーフィッシュ・ジャパン
> [EMAIL PROTECTED]
> Tel:03-5436-9980 Fax:03-5436-9126
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to