You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2016/10/22 21:53:58 UTC

[jira] [Closed] (OLINGO-589) Use of bi-directional mappings may lead to an exception

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

Michael Bolz closed OLINGO-589.
-------------------------------

> Use of bi-directional mappings may lead to an exception
> -------------------------------------------------------
>
>                 Key: OLINGO-589
>                 URL: https://issues.apache.org/jira/browse/OLINGO-589
>             Project: Olingo
>          Issue Type: Task
>          Components: odata2-jpa
>    Affects Versions: V2 2.0.2
>            Reporter: Michael Bolz
>            Assignee: Michael Bolz
>         Attachments: OLINGO-589.diff
>
>
> If bi-directional mappings are used with {{@JoinColumn(...referencedColumnName="colName"...)}} and {{colName}} references to a field which has no {{@Column}} annotation this lead to an exception.
> Thrown exception is {{ODataJPAModelException}} with sample message *"OData - JPA Model Processor: Reference attribute not found in JPA entity \[ReferencedType\]"*.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)