Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-248

ForeignKey cascade delete action not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.7
    • 1.0.0
    • jdbc
    • None

    Description

      The code in parseForeignKey is not correct. It is accidentally using the deleteAction setting for both the delete and update action settings. This results in invalid SQL being generated (at least for DB2 since it doesn't like cascading updates). This report will be used to correct these settings. It looks like a simple case of cut-and-paste error.

      Attachments

        Activity

          People

            kwsutter Kevin W. Sutter
            kwsutter Kevin W. Sutter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: