Can ODATA NavigationProperty names be changed in DV?

Solution Verified - Updated -

Issue

  • Can ODATA NavigationProperty names be changed in DV?
  • We have 2 Tables of the same name in 2 different models and when queried by ODATA:
  - sourceAccount : FinancialAccount
  - destination : FinancialAccount
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

Environment

  • Red Hat JBoss Data Virtualization (DV) 6.0
  • Open Data Protocol (OData)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content