You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Chandan V.A (JIRA)" <ji...@apache.org> on 2015/02/21 15:20:11 UTC

[jira] [Commented] (OLINGO-579) Not able to change attribute names for JPA generated foreign keys

    [ https://issues.apache.org/jira/browse/OLINGO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14330256#comment-14330256 ] 

Chandan V.A commented on OLINGO-579:
------------------------------------

Hi Adith,
You can change those names by adding the JPA relationship names to the JPAAttribute list as shown in the following XML.

{code:xml}
<JPAEntityType name=...>
   <JPAAttributes>
     <JPAAttribute name={JPA relationship Name}>{New Name}</JPAAttribute>
{code}

Regards
Chandan

> Not able to change attribute names for JPA generated foreign keys
> -----------------------------------------------------------------
>
>                 Key: OLINGO-579
>                 URL: https://issues.apache.org/jira/browse/OLINGO-579
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-jpa
>            Reporter: Adith Shenoy
>            Assignee: Chandan V.A
>             Fix For: V2 2.0.2
>
>
> Hi [~chandan.v.a]
> Not able to change attribute names for JPA generated foreign keys which comes as FK_PROPERTYNAME in the metadata



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