Hi all. 
I'm trying to tranfer an association between 2 interfaces on my object
model to my database

I can use extents and polymorphism successfully and I know how to map
M:N associations, but I dunno how to proceed in this case.

I have 2 main abstractions ( InformationUnit & Qualifier ) .

-----------------       ---------------
|<< interface >>|       |<<interface>>|
|InformationUnit|-------|  Qualifier  |<-------|
-----------------       ---------------        |
       ^                                       |
       |                                       |
---------------------                ------------
|    <<abstract>>   |                |          |
|BaseInformationUnit|            --------       ---------
---------------------            |  A   |       |  B    |
         ^                       --------       ---------
         |
-------------------------
|                       |
---------       ---------
| Simpl |       | Compl |
---------       ---------

Any InformationUnit can have any number of Qualifiers associated with it
but I don't know how to map this relationship on repository.xml.

I think I can't put <field-descriport>'s on InformationUnit or
Qualifier, may I use <attribute>'s ?

Can I have only one indirection table to relate InformationUnit and
Qualifier, or I must have one indirection table per cuples of concrete
classes ?


-- 
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br
http://jakarta.apache.org/ojb


--
To unsubscribe, e-mail:   <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>

Reply via email to