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

Change mapping defaults to assume foreign keys exist for relationships by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.0, 0.9.6, 0.9.7, 1.0.0, 1.0.1, 1.0.2, 1.1.0
    • 1.3.0
    • sql
    • None

    Description

      OpenJPA's current defaults assume that no foreign keys exist. This leads to potentially more optimal SQL ordering, but often also leads to FK constraint violations when obvious FKs exist but are not declared. We should change this default to be more user-friendly, and add a note to our optimization guide as appropriate if there are actions users should take to optimize.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pcl Patrick Linskey
              Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: