JDBC Driver for SAP Cloud for Customer

Build 22.0.8462

Navigation Properties

In OData, a navigation property is a property on an entity that is itself either a single entity or list of entities.

A single-entity navigation property signifies a one-to-one relationship; for example, SAP Cloud for Customer has only one Account per AccountTeam. In SAP Cloud for Customer, Account is a navigation property on Account Team.

An entity set navigation property signifies a one-to-many relationship; for example, in SAP Cloud for Customer many AccountTeams can belong in the same Account. In SAP Cloud for Customer, AccountTeam is a navigation property on Accounts, which contain multiple AccountTeams.

Working with Navigation Properties Relationally

Navigation properties in OData link related entities. Similarly, in a relational database, a foreign key serves to link tables. While OData can support foreign key references between related entities, SAP Cloud for Customer does not use them. Instead, relationships between entities can only be determined using the navigation properties.

Select

Navigation properties will be displayed as views. They can be selected directly from just like any normal table. See Views for more information on querying navigation properties.

Insert

The driver supports deep inserts. See Tables for more information on specifying navigation properties when you create an entity.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462