My problem is that the C.foreignId field contains both a.idA and b.idB and I know if it's an A id or a B id with C.type field. The query must have "C.foreignId = A.idA AND C.type='typeA'" or "C.foreignId = B.idB AND C.type='typeB'" clause. it's not a standard case of "1:n relations". thanks Florent
Surlignage [EMAIL PROTECTED]: > > > > > Hello again, > > If you want "C.foreignId = A.idA" then the 1:n - relation between C and A > is the other way round: C would be the n-class. > But if you simply want C having two collections as attributes, it is > described in tutorial 3, "mapping 1:n relations". > Was that the answer? > > regards, > Birgitta --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
