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 2014/09/20 11:07:34 UTC
[jira] [Assigned] (OLINGO-433) Join Column name is used for EDM
attribute and exposed as is in $metadata
[ https://issues.apache.org/jira/browse/OLINGO-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chandan V.A reassigned OLINGO-433:
----------------------------------
Assignee: Chandan V.A
> Join Column name is used for EDM attribute and exposed as is in $metadata
> -------------------------------------------------------------------------
>
> Key: OLINGO-433
> URL: https://issues.apache.org/jira/browse/OLINGO-433
> Project: Olingo
> Issue Type: New Feature
> Components: odata2-jpa
> Affects Versions: V2 2.0.0
> Reporter: Kiran G
> Assignee: Chandan V.A
> Priority: Minor
>
> If I set ODataJPAContext.setDefaultNaming(false) then the attributes for join column is of form FK_<JoinColumn Name>, there by exposing the foreign column name in $metadata url. It would be be nice just to have the JPA attribute name itself with a suffix 'fk' instead and not expose the Database column name.
> If this is not possible atleast provide support to override this name in JPAEdmMappingModel configuration XML.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)