Playing with spring-data-rest and JPA.
- Graphs
- Node: composite key for nodes, surrogate id for edges. bidirectional.
- NodePk: composite (natural) key for both nodes and edges. bidirectional.
- NodeCollection: Node owns outgoing edges. Edge links only to target node.
mvn spring-boot:run- Browse to:
- repositories: http://localhost:8080
- controller: http://localhost:8080/greeting
mvn package- Point browser to
file:///C:/Users/.../jpa-demo/target/snippets/docs/index.html - index.adoc