You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by Philip DONAGHY <Ph...@thales-is.com> on 2004/10/27 18:20:08 UTC

ojb-tools reference descriptor

Good Evening,

I had a problem in ojb-tools where one table had two foreign kyes where
both were imported from the same other table. ReverseDb xml was giving
me this,

  <reference-descriptor
    name="aAirspaceM"
    class-ref="AirspaceM"
    auto-retrieve="true"
    auto-update="false"
    auto-delete="false">
    <foreignkey field-ref="airspaceMIntoMid" />
  </reference-descriptor>

And I wanted this,

  <reference-descriptor
    name="aAirspaceM"
    class-ref="AirspaceM"
    auto-retrieve="true"
    auto-update="false"
    auto-delete="false">
    <foreignkey field-ref="airspaceMIntoMid" />
  </reference-descriptor>
  <reference-descriptor
    name="aAirspaceM"
    class-ref="AirspaceM"
    auto-retrieve="true"
    auto-update="false"
    auto-delete="false">
    <foreignkey field-ref="airspaceMFromMid" />
  </reference-descriptor>

Would a bug, test, and patch interest this project?

Sincerely,

Donaghy

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