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.