[
https://issues.apache.org/jira/browse/OLINGO-589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Bolz updated OLINGO-589:
--------------------------------
Fix Version/s: V2 2.0.8
> 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
> Fix For: V2 2.0.8
>
> 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)