[teiid-issues] [JBoss JIRA] (TEIID-3015) ODATA: Duplicate NavigationProperty name

Ramesh Reddy (JIRA) issues at jboss.org
Tue Jun 24 10:09:25 EDT 2014


Ramesh Reddy created TEIID-3015:
-----------------------------------

             Summary: ODATA: Duplicate NavigationProperty name
                 Key: TEIID-3015
                 URL: https://issues.jboss.org/browse/TEIID-3015
             Project: Teiid
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: OData
    Affects Versions: 8.3
            Reporter: Ramesh Reddy
            Assignee: Steven Hawkins
             Fix For: 8.7.1, 8.8


Entity 1: TransferRule
Entity 2: FinancialAccount

TransferRule
  - sourceAccount : FinancialAccount
  - destination : FinancialAccount
  - other attributes

the mapping to this for odata resolves to 

<NavigationProperty Name="financialaccount" Relationship="LivingODS.transferrule_destinationfinancial_account_id_fk" FromRole="transferrule" ToRole="financialaccount" />

<NavigationProperty Name="financialaccount" Relationship="LivingODS.transferrule_sourcefinancial_account_id_fk" FromRole="transferrule" 
ToRole="financialaccount" />

The navigation property name is duplicated with in transfer rule entity. 
Hence some of the Odata client see it as ambiguous element

Is there a way to customise the Name to 
Name="src_financialaccount" and
Name="dest_financialaccount"



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the teiid-issues mailing list