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

@OneToOne should not be legal as back-pointer of @OneToMany

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.9.0, 0.9.6
    • Fix Version/s: None
    • Component/s: diagnostics, jpa
    • Labels:
      None

      Description

      According to the JPA spec, the opposite side of a @OneToMany must be a @ManyToOne. OpenJPA allows a @OneToOne to be used instead. This does not seem to add any value, and reduces portability of client applications.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pcl Patrick Linskey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: