Hi there!
(OJB 0.9.7)
I have A asociated to B in 1 to N. (A have collection descriptor), like
this:
A....
<class-descriptor class="A" table="A_table">
<collection-descriptor name="allBs"
    element-class-ref="B"
    proxy="true"
    auto-retrieve="true"
    auto-update="true"
    auto-delete="true"
    orderby="id"
    sort="ASC">
<inverse-foreignkey field-id-ref="1"/>
</collection-descriptor>
</class-descriptor>
B....
<class-descriptor class="B" table="B_table">
<field-descriptor
    id="1"
    name="aId"
    column="A_ID"
    jdbc-type="INTEGER"
/>
</class-descriptor>

And the problem is, when I delete the A object, I expect all asociated B
objects to be deleted as well (according to auto-delete="true" in the
collection descriptor of A), but no removal of asociated B objects is
observed!
Am I missing something ? What's the reason ?

It's a kind of *very high priority issue* for me, so any suggestions will be
very appreciated!!
Thank you very much.

$kala.





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to