db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject RE: foreign key
Date Wed, 08 Jun 2005 08:06:52 GMT




Hi,

you can ask the generated MapBuilder class whether a column is a foreign
key.

For this, use
MapBuilder.getDatabaseMap();

Look at the doBuild() method of a generated MapBuilder to see what
informations are put in there.

You can get the MapBuilder of a Peer class by its getMapBuilder() method

   Thomas


cedric.brajus@vallourec.fr schrieb am 07.06.2005 17:56:49:

> Hello,
>
> there is a method which tests if the field is a foreign key ?
>
> Thanks
>
>
>
> ---------------------------------------------------------------------
> 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