Uploaded image for project: 'OJB'
  1. OJB
  2. OJB-41

Cascading delete for ODMG

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.4
    • ODMG-API
    • None

    Description

      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 library.

      Can we please have the old behavior back?

      Attachments

        Activity

          People

            arminw Armin Waibel
            steve_clark@fws.gov Steve Clark
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment