You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Patrick Linskey (JIRA)" <ji...@apache.org> on 2007/03/07 00:31:24 UTC

[jira] Created: (OPENJPA-163) @OneToOne should not be legal as back-pointer of @OneToMany

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

                 Key: OPENJPA-163
                 URL: https://issues.apache.org/jira/browse/OPENJPA-163
             Project: OpenJPA
          Issue Type: Improvement
          Components: diagnostics, jpa
    Affects Versions: 0.9.6, 0.9.0
            Reporter: Patrick Linskey
            Priority: Minor
             Fix For: 0.9.7


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.