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

Michael Bolz updated OLINGO-589:
--------------------------------
    Description: 
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\]"*.

  was: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.


> 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
>
> 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)

Reply via email to