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/08/07 20:41:59 UTC

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

     [ https://issues.apache.org/jira/browse/OPENJPA-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Linskey updated OPENJPA-163:
------------------------------------

    Fix Version/s:     (was: 0.9.8)

> @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.0, 0.9.6
>            Reporter: Patrick Linskey
>            Priority: Minor
>
> 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.