What is Spring Data Neo4j (SDN)?
mainSpring Data Neo4j (SDN) is an Object-Graph-Mapping (OGM) library designed for Spring and Spring Boot applications (and some Jakarta EE environments). It maps nodes and relationships in a Neo4j graph to objects and references in a domain model.
Key characteristics:
- Direct Driver Usage: SDN relies entirely on the
neo4j-java-driver(Bolt protocol) without adding an intermediate driver layer. - Integrated OGM: Unlike previous versions (SDN 5/SDN+OGM), the object mapping framework is built directly into SDN. It does not require or support a separate OGM implementation.
- Modern Feature Support: Provides full support for immutable entities (e.g., Kotlin data classes) and the Spring reactive programming model.
- Transaction Integration: High-level abstractions like repositories, templates, and clients are fully integrated with Spring's application transactions.