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

Richard Zowalla resolved OPENJPA-2175.
--------------------------------------
    Resolution: Fixed

Already fixed in an earlier release (4f479a988); closing.

> Wrong value persisted with multiple foreign keys of the same type
> -----------------------------------------------------------------
>
>                 Key: OPENJPA-2175
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2175
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.0.1, 2.2.0, 2.3.0
>            Reporter: Dianne E. Richards
>            Assignee: Dianne E. Richards
>            Priority: Major
>
> When an entity contains 2 or more relationships (ex: @ManyToOne), each with a 
> type of the same entity, and a foreign key table is generated with each of 
> them as an id, 1 or more of the id values are wrong.
> The problem occurs in ValueMappingImpl where the getForeignKey() method 
> always grabs the first one that matches the type.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to