Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions advanced/fiori.md
Original file line number Diff line number Diff line change
Expand Up @@ -747,13 +747,11 @@ Cache Control feature is currently supported on the Java runtime only.

Recursive hierarchies are parent-child hierarchies, where each entity references its parent and through that defines the hierarchical structure. A common example is a company organization structure or HR reporting, where each employee entity references another employee as a direct report or manager.

Database support for a generic hierarchy implementation by CAP runtimes:

| Runtime\DB | SAP HANA | H2 | PostgreSQL | SQLite |
|-------------|----------|----|------------|--------|
| CAP Java | ✓ | ✓ | ✓ | |
| CAP Node.js | ✓ | |✓ |✓ |
A generic hierarchy implementation for hierarchies is available on all relational datases supported by the CAP runtimes.

::: warning
On H2, only small hierarchies should be used for performance reasons.
:::

### Example
Let's assume we have the following domain model and its projection in a service:
Expand Down