Colin

> Correct

Okay. I'm sorry for not stating the type of relationship. :) I think
you're talking about a one-to-many relationship between table A and
table [B, C, or D]. If so, then we'll have to find an easy way to get
the related tables, such as TableA.getRelatedTables(). It will probably
use DatabaseMap or some such construct in Torque.

Otherwise, if the relationship is many-to-one, or many-to-many, you can
probably use the getForeignTableNames() method on
org.apache.torque.engine.database.model.Table and work from there.

Am I making sense?

Eric

-- 
Eric Emminger
[EMAIL PROTECTED]


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

Reply via email to