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 RĂ©mi Bars <rb...@softeam.fr> on 2004/03/02 09:45:02 UTC

add an attribut on a relational table

hello

i have 3 (A, B, C) tables wich mapp association between object

My problem is to put the attribute "anAttribute" in my table B, is it
possible?

thank for ur help

Remi
----------------------------------------
in my repositery i have something like
<collection-descriptor
           name="XXX"
          element-class-ref="C"
      a uto-retrieve="true"
       auto-update="true"
               auto-delete="true"
          indirection-table="B">
         <fk-pointing-to-this-class column="idA"/>
         <fk-pointing-to-element-class column="idC"/>
      </collection-descriptor>
---------------------------------------------------
A {
    idA,
    somethingelse
}
B {
    idA,
    idC
    anAttribute
}
C {
    idC,
    anything
}


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