Hi,

I want to specify a relation between an object A (table T_A) and one object B (table T_B) with a foreignkey on the column idB of the table T_A.
To do that I have to create an attribute idB in the class A and to put a <foreignkey field-ref="idB"/> in my <reference-descriptor> tag.
Why it is not possible to act as in the "non decomposed m:n mapping" and specify a db column in stead of a class attribute.
For example I would like to write <foreignkey column-ref="idB"/> where idB is a column of T_B. With this version, I don't have to put an artificial idB attribute in my class A.


Is it something difficult to do or is it an implementation choice ?

Thanx

Seb


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



Reply via email to