Torque will not be able to generate any code to help with this kind of
mapping. You will have to add your own methods.
john mcnally
Dan Bachelder wrote:
>
> Is there a way in torque to handle a situation like the following:
>
> I have a NOTE table.. I want to be able to attach a NOTE to any other table
> in my database.. So I have an ID field which corresponds to the PK of the
> table I am attaching to.. and I also have a TABLE_NAME column which would
> have the name of the table the note is attached to..
>
> Is there a way for torque to handle this in its mappings? a good resource or
> example somewhere would be fine...
>
> thanks.
>
> ---------------------------------------------------------------------
> 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]