You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by ft...@siliage.fr on 2004/02/16 10:33:05 UTC

Mapping question

Hello, 
I want to know if it's possible (and how could I do that) to map this kind of 
relation in OJB. 

Table A
idA
otherFields


Table B
idB
otherFields

Table C
idC
foreignId
type
otherFields

Relation : C - A 1:n 
	   C - B 1:n

example :
A
a1 ...
a2 ...

B
b1 ...
b2 ...

C
c1 b1 	typeB ...
c2 a1	typeA ...
c3 b2 	typeB ...


In my dream I will have in C object both a collection of A object and a 
collection of B object.
Thanks
Florent


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org