db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armin Waibel (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (OJB-41) Cascading delete for ODMG
Date Sat, 04 Jun 2005 17:47:40 GMT
     [ http://issues.apache.org/jira/browse/OJB-41?page=all ]
Armin Waibel resolved OJB-41:

    Fix Version: 1.0.4
     Resolution: Fixed
      Assign To: Armin Waibel

Now it's allowed to set auto-delete="object" in reference/collection-descriptor to enable
cascading delete. Additional it's possible to set/override this setting at runtime using TransactionExt#setCascadingDelete(...)

> Cascading delete for ODMG
> -------------------------
>          Key: OJB-41
>          URL: http://issues.apache.org/jira/browse/OJB-41
>      Project: OJB
>         Type: New Feature
>   Components: ODMG-API
>     Reporter: Steve Clark
>     Assignee: Armin Waibel
>      Fix For: 1.0.4

> The docs for the ODMG API have always said that auto-delete must be set to "false" in
order for the ODMG API to work correctly.  However, it has always worked fine to go ahead
and set auto-delete="link" or "object", and a cascading delete configurable at the individual
reference level has been unofficially available.
> With the rewrite of the ODMG layer, it appears that this unofficial cascading delete
has been removed, and has been replaced with bizarre and completely useless solution based
on the category of reference, with all 1:1 references treated same, all 1:n treated the same,
and all m:n treated the same.  The impact on our existing codebase is huge, as it requires
us to go back and write a complete OJB-aware cascading delete for every dataobject in our
> Can we please have the old behavior back?

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

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

View raw message