db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sgarlata Matt" <sgarlata_m...@bah.com>
Subject Re: Foreign keys another great mystery...
Date Tue, 12 Aug 2003 16:44:50 GMT
In my experience, they usually do work as long as the foreign key is to the
primary key of the foreign table.  If the foreign key is to an alternate
key, they do not work because Torque gets confused and thinks you really
meant to have a foreign key to the primary key.  I Hope that makes sense...

Matt
----- Original Message ----- 
From: "Mark Lowe" <mark.lowe@talk21.com>
To: "Turbine List" <torque-user@db.apache.org>
Cc: <torque-dev@db.apache.org>
Sent: Tuesday, August 12, 2003 12:38 PM
Subject: Foreign keys another great mystery...


> Okay I'm going to make this really easy..
>
> Do foreign keys and the subsequent methods generated from such entries
> in a schema actually work? Or are they just trying to look nice? Please
> tell me somebody, tell me point me to some reading or something, i'm
> not being lazy. I don't mind if this isn't supported although I jaded
> that nobody seems to document any of the stuff that doesn't work ever
> and its left as if it does...
>
> Many thanks
>
> Mark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-dev-help@db.apache.org
>


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


Mime
View raw message