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

"ON DELETE SET NULL" is getting overridden if the foreign column is "NOT NULL"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • sql
    • None

    Description

      "ON DELETE SET NULL" is getting overridden if the foreign column is "NOT NULL".
      This behaviour was introduced in Revision 449532 of the DBDictionary (getForeignKeyConstraintSQL). I think this is implemented wrongly - you're checking the wrong side of the relation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            markus.herzog Markus Herzog
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: