Popov85 / challenge-hierarchy-jpa

Managing hierarchical data structures in RDBMS via JPA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Impl. hierarchical data structures in relational DB with JPA

Operations:

  • Add a node to any parent, or to top-level (parent is absent);
  • Return a subtree of any node with a depth of 3 levels to the ground;
  • Return all top-level nodes with subtrees of 3 levels to the ground;

Requirements

  • SQL dialect agnostic;
  • Stick to JPA standards;
  • Spring Data friendly;

Methods

  • Adjacency lists;
  • Closure tables;
  • Etc.

Further reading

About

Managing hierarchical data structures in RDBMS via JPA


Languages

Language:Java 100.0%