What problem does it solve?
It solves the challenge of wiring Neo4j into a Spring Boot application correctly, including entity mapping, repository queries, transactions, and optional vector search, without resorting to raw driver code.
Core Features & Use Cases
- Spring Data Neo4j entity mapping: Define
@Node, @Relationship, and @RelationshipProperties (including relationship IDs and target node mapping) for graph-first domain models.
- Repository development (imperative and reactive): Implement
Neo4jRepository / ReactiveNeo4jRepository with derived queries and safe @Query methods using parameter binding.
- Practical application setup: Configure
application.yml for local Neo4j and Neo4j Aura/TLS, including database selection and credentials via environment variables.
- Advanced mapping behaviors: Use projections (interface/DTO/dynamic) to control payload shape, manage transaction boundaries, and address common SDN loading and performance pitfalls.
- Spring AI integration: Enable Spring AI
Neo4jVectorStore vector search with schema initialization and similarity search use cases.
Quick Start
Use this skill when you are developing a Spring Boot app with Spring Data Neo4j and want to map graph entities, write repository methods (including @Query), configure application.yml, and optionally enable Spring AI vector search.