SlideShare a Scribd company logo
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
1
Spring Data Neo4j
Concepts & Application Development
Gerrit Meier and Michael Simons,
SDN and OGM team @ Neo4j
© 2023 Neo4j, Inc. All rights reserved.
Who are we?
Michael Simons Gerrit Meier
© 2023 Neo4j, Inc. All rights reserved.
Who are you?
• Java Developer
• Graph Specialist
• Where are you from?
• …
© 2023 Neo4j, Inc. All rights reserved.
Today’s plan
• Get your development environment set up (If not already done)
• Create Neo4j Java Driver-based Spring Boot applications
• Concepts and Architecture of Spring Data Neo4j
• Advance to a Spring Data Neo4j application
◦ Modelling
◦ Repositories
• Control what gets loaded
• Custom queries and projections
• Working with Neo4jTemplate
• Use Neo4jTemplate features
• Testing
• Add tests to your application
© 2023 Neo4j, Inc. All rights reserved.
Development environment
• (free) Aura instance running
• JDK 17
◦ Driver and Spring Boot
• IDE
• Allow access to download artifacts from Maven Central
• Docker for testing
© 2023 Neo4j, Inc. All rights reserved.
Database preparation
© 2023 Neo4j, Inc. All rights reserved.
Spring Boot application
• start.spring.io
• no dependencies
• Maven/Gradle choose
◦ Choose what you are comfortable with
◦ Will use Maven
© 2023 Neo4j, Inc. All rights reserved.
8
Live coding / code along
Project setup
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
9
Practical part
Create a Spring Boot application
using the Neo4j Java Driver.
Todo:
• Add Neo4j Java
Driver
• Configuration in
application.properties
• Implement
CommandLineRunner
• Output all Movie-node
titles
© 2023 Neo4j, Inc. All rights reserved.
Spring Data Neo4j Architecture
Neo4j Java Driver spring-boot-autoconfigure
provides
© 2023 Neo4j, Inc. All rights reserved.
Spring Data Neo4j Architecture
Neo4j Java Driver
spring-boot-starter-data-neo4j
spring-boot-autoconfigure
provides
provides
Spring Data Neo4j
© 2023 Neo4j, Inc. All rights reserved.
Spring Data Neo4j Architecture
Spring Data Repositories
Neo4j Template
Neo4j Client
Neo4j Java Driver
spring-boot-starter-data-neo4j
spring-boot-autoconfigure
provides
provides
© 2023 Neo4j, Inc. All rights reserved.
Spring Data Neo4j Architecture
Spring Data Repositories
Neo4j Template
Neo4j Client
Neo4j Java Driver
spring-boot-starter-data-neo4j
spring-boot-autoconfigure
provides
provides
© 2023 Neo4j, Inc. All rights reserved.
@Node("Person")
public class Actor {
@Id
public final String name;
@Relationship("ACTED_IN")
public final List<Movie> movies;
public Actor(String name, List<Movie> movies) {
this.name = name;
this.movies = movies;
}
}
@Node
public class Movie {
@Id
public final String title;
public Movie(String title) {
this.title = title;
}
}
© 2023 Neo4j, Inc. All rights reserved.
15
Live coding / code along
Spring Data Neo4j (starter) dependency
Model domain classes
First repository
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
16
Practical part
Enrich the application by a
PersonRepository with additional
functionality.
Todo:
• Create a repository
for the Person
• Return Tom Hanks
with all Movies, he
acted in.
© 2023 Neo4j, Inc. All rights reserved.
@Node
public class Person {
@Id
public final String name;
public Person(String name) {
this.name = name;
this.movies = movies;
}
}
@Node
public class Movie {
@Id
public final String title;
@Relationship(type="ACTED_IN", direction=
Relationship.Direction.INCOMING)
public List<Person> actors;
@Relationship(type="DIRECTED", direction=
Relationship.Direction.INCOMING)
public List<Person> directors;
@Relationship(type="PRODUCED", direction=
Relationship.Direction.INCOMING)
public List<Person> producers;
public Movie(String title) {
this.title = title;
}
}
© 2023 Neo4j, Inc. All rights reserved.
More on repositories
Custom queries
• Form your fetch shape by hand
© 2023 Neo4j, Inc. All rights reserved.
More on repositories
Projections
• Let SDN form your fetch shape
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
20
Practical part
Use existing functionality in
Spring Data Neo4j to load only the
data you are interested in.
Todo:
• Custom query:
Find a Movie by title
with just the actors
attached
• Projection:
Find a Movie by title
with just the actors
(additional
PersonProjection)
© 2023 Neo4j, Inc. All rights reserved.
Pitfalls of Sub-Graph loading
• Loaded slice is incomplete
◦ SDN takes the object (graph) to persist as the only truth
◦ Relationships will get removed
• Open projections (DTOs) will adapt entity metadata and fall back to
original query creation
◦ Also in multi-level projections starting with interfaces
• Use-case specific projections
◦ A lot of interfaces/classes for each use-case
© 2023 Neo4j, Inc. All rights reserved.
22
Live coding / code along
Neo4jTemplate with Projections
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
23
Practical part
Use projections for save
operations.
Todo:
• Load Movie via
Neo4jTemplate the
Movie -> Actor
projection
• Edit the Movie
(release year) and call
save
• Ensure that all
relationships still exist
© 2023 Neo4j, Inc. All rights reserved.
Testing
• Testslice @DataNeo4jTest
◦ Set up transaction manager, repositories, etc.
• Testcontainers Neo4j
◦ Docker based solution to run integration tests
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
25
Practical part
Use projections for save
operations.
Todo:
• Load Movie via
Neo4jTemplate the
Movie -> Actor
projection
• Edit the Movie
(release year) and call
save
• Ensure that all
relationships still exist
© 2023 Neo4j, Inc. All rights reserved.
..there is more, but just so little time
• Reactive support
• More query styles, like find by example
• Fluent Neo4jClient API
• …
© 2023 Neo4j, Inc. All rights reserved.
Stay connected
• GitHub project pages
◦ https://github.com/spring-projects/spring-data-neo4j
• Neo4j Community
◦ https://community.neo4j.com/c/drivers-stacks/spring-data-neo4j-ogm/30
• Developer Blog
◦ https://medium.com/neo4j
© 2023 Neo4j, Inc. All rights reserved.
© 2023 Neo4j, Inc. All rights reserved.
28
Thank you!

More Related Content

PDF
Data Modeling with Neo4j
PDF
Full-stack Data Scientist
PPTX
Banking Circle: Money Laundering Beware: A Modern Approach to AML with Machin...
PDF
Data Architecture Strategies: The Rise of the Graph Database
PDF
Knowledge Graphs Overview
PDF
Data-centric design and the knowledge graph
PPTX
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptx
PDF
How to Create a Data Analytics Roadmap
 
Data Modeling with Neo4j
Full-stack Data Scientist
Banking Circle: Money Laundering Beware: A Modern Approach to AML with Machin...
Data Architecture Strategies: The Rise of the Graph Database
Knowledge Graphs Overview
Data-centric design and the knowledge graph
Knowledge Graphs and Generative AI_GraphSummit Minneapolis Sept 20.pptx
How to Create a Data Analytics Roadmap
 

What's hot (20)

PDF
Building a modern data stack to maintain an efficient and safe electrical grid
PDF
The Knowledge Graph Explosion
PDF
Data platform architecture
PPTX
Neo4j GraphSummit London - The Path To Success With Graph Database and Data S...
PDF
Peek into Neo4j Product Strategy and Roadmap
PDF
The three layers of a knowledge graph and what it means for authoring, storag...
PDF
https://www.slideshare.net/neo4j/a-fusion-of-machine-learning-and-graph-analy...
PPTX
Data platform modernization with Databricks.pptx
PDF
Security in the Software Development Life Cycle (SDLC)
PPTX
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx
PDF
Graph Machine Learning in Production with Neo4j
PDF
Introducing Neo4j
PDF
Knowledge Graphs as a Pillar to AI
PPTX
EY: Why graph technology makes sense for fraud detection and customer 360 pro...
PDF
𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬
PDF
Data Modeling Techniques
PDF
Data Virtualization: Introduction and Business Value (UK)
PPTX
Elsevier: Empowering Knowledge Discovery in Research with Graphs
PPTX
Demystifying Graph Neural Networks
PDF
Workshop - Build a Graph Solution
Building a modern data stack to maintain an efficient and safe electrical grid
The Knowledge Graph Explosion
Data platform architecture
Neo4j GraphSummit London - The Path To Success With Graph Database and Data S...
Peek into Neo4j Product Strategy and Roadmap
The three layers of a knowledge graph and what it means for authoring, storag...
https://www.slideshare.net/neo4j/a-fusion-of-machine-learning-and-graph-analy...
Data platform modernization with Databricks.pptx
Security in the Software Development Life Cycle (SDLC)
Neo4j & AWS Bedrock workshop at GraphSummit London 14 Nov 2023.pptx
Graph Machine Learning in Production with Neo4j
Introducing Neo4j
Knowledge Graphs as a Pillar to AI
EY: Why graph technology makes sense for fraud detection and customer 360 pro...
𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬
Data Modeling Techniques
Data Virtualization: Introduction and Business Value (UK)
Elsevier: Empowering Knowledge Discovery in Research with Graphs
Demystifying Graph Neural Networks
Workshop - Build a Graph Solution
Ad

Similar to Neo4j Training Series - Spring Data Neo4j (20)

PPTX
Introduction to Neo4j AuraDB: Your Fastest Path to Graph
PPTX
Master Real-Time Streams With Neo4j and Apache Kafka
PPTX
Discover Neo4j Aura Workshop (9.27.23).pptx
PPTX
Combining the Best Cloud Technologies with Innovative Engineering: How We Bui...
PPTX
From Relational to Graph: How Going Graph Revealed the Unknown(Jason_Schatz)....
PPTX
Effective .NET Core Unit Testing with SQLite and Dapper
PDF
Container Native Development Tools - Talk by Mickey Boxell
PPTX
Effective .NET Core Unit Testing with SQLite and Dapper
PDF
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
PDF
Road to NODES - Blazing Fast Ingest with Apache Arrow
PPTX
Leveraging Neo4j With Apache Spark
PPTX
Apache Spark Operations
PDF
There and Back Again, A Developer's Tale
PDF
BYOP: Custom Processor Development with Apache NiFi
PPTX
Bootstrapping Your Graph Project with Neo4j Data Importer and Browser.pptx
PDF
GraalVM Overview Compact version
PDF
Down by the Docker
PDF
Atlantis Word Processor 4.4.5.1 Free Download
PDF
Auslogics Video Grabber Free 1.0.0.12 Free
PDF
Capture One Enterprise for MacOS Download
Introduction to Neo4j AuraDB: Your Fastest Path to Graph
Master Real-Time Streams With Neo4j and Apache Kafka
Discover Neo4j Aura Workshop (9.27.23).pptx
Combining the Best Cloud Technologies with Innovative Engineering: How We Bui...
From Relational to Graph: How Going Graph Revealed the Unknown(Jason_Schatz)....
Effective .NET Core Unit Testing with SQLite and Dapper
Container Native Development Tools - Talk by Mickey Boxell
Effective .NET Core Unit Testing with SQLite and Dapper
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
Road to NODES - Blazing Fast Ingest with Apache Arrow
Leveraging Neo4j With Apache Spark
Apache Spark Operations
There and Back Again, A Developer's Tale
BYOP: Custom Processor Development with Apache NiFi
Bootstrapping Your Graph Project with Neo4j Data Importer and Browser.pptx
GraalVM Overview Compact version
Down by the Docker
Atlantis Word Processor 4.4.5.1 Free Download
Auslogics Video Grabber Free 1.0.0.12 Free
Capture One Enterprise for MacOS Download
Ad

More from Neo4j (20)

PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
PDF
Jin Foo - Prospa GraphSummit Sydney Presentation.pdf
PDF
GraphSummit Singapore Master Deck - May 20, 2025
PPTX
Graphs & GraphRAG - Essential Ingredients for GenAI
PPTX
Neo4j Knowledge for Customer Experience.pptx
PPTX
GraphTalk New Zealand - The Art of The Possible.pptx
PDF
Neo4j: The Art of the Possible with Graph
PDF
Smarter Knowledge Graphs For Public Sector
PDF
GraphRAG and Knowledge Graphs Exploring AI's Future
PDF
Matinée GenAI & GraphRAG Paris - Décembre 24
PDF
ANZ Presentation: GraphSummit Melbourne 2024
PDF
Google Cloud Presentation GraphSummit Melbourne 2024: Building Generative AI ...
PDF
Telstra Presentation GraphSummit Melbourne: Optimising Business Outcomes with...
PDF
Hands-On GraphRAG Workshop: GraphSummit Melbourne 2024
PDF
Démonstration Digital Twin Building Wire Management
PDF
Swiss Life - Les graphes au service de la détection de fraude dans le domaine...
PDF
Démonstration Supply Chain - GraphTalk Paris
PDF
The Art of Possible - GraphTalk Paris Opening Session
PPTX
How Siemens bolstered supply chain resilience with graph-powered AI insights ...
PDF
Knowledge Graphs for AI-Ready Data and Enterprise Deployment - Gartner IT Sym...
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Jin Foo - Prospa GraphSummit Sydney Presentation.pdf
GraphSummit Singapore Master Deck - May 20, 2025
Graphs & GraphRAG - Essential Ingredients for GenAI
Neo4j Knowledge for Customer Experience.pptx
GraphTalk New Zealand - The Art of The Possible.pptx
Neo4j: The Art of the Possible with Graph
Smarter Knowledge Graphs For Public Sector
GraphRAG and Knowledge Graphs Exploring AI's Future
Matinée GenAI & GraphRAG Paris - Décembre 24
ANZ Presentation: GraphSummit Melbourne 2024
Google Cloud Presentation GraphSummit Melbourne 2024: Building Generative AI ...
Telstra Presentation GraphSummit Melbourne: Optimising Business Outcomes with...
Hands-On GraphRAG Workshop: GraphSummit Melbourne 2024
Démonstration Digital Twin Building Wire Management
Swiss Life - Les graphes au service de la détection de fraude dans le domaine...
Démonstration Supply Chain - GraphTalk Paris
The Art of Possible - GraphTalk Paris Opening Session
How Siemens bolstered supply chain resilience with graph-powered AI insights ...
Knowledge Graphs for AI-Ready Data and Enterprise Deployment - Gartner IT Sym...

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PPTX
MYSQL Presentation for SQL database connectivity
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Machine learning based COVID-19 study performance prediction
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Cloud computing and distributed systems.
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Teaching material agriculture food technology
MYSQL Presentation for SQL database connectivity
NewMind AI Weekly Chronicles - August'25 Week I
MIND Revenue Release Quarter 2 2025 Press Release
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Advanced methodologies resolving dimensionality complications for autism neur...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Spectroscopy.pptx food analysis technology
Understanding_Digital_Forensics_Presentation.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Encapsulation theory and applications.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Machine learning based COVID-19 study performance prediction
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Cloud computing and distributed systems.
Dropbox Q2 2025 Financial Results & Investor Presentation
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx

Neo4j Training Series - Spring Data Neo4j

  • 1. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. 1 Spring Data Neo4j Concepts & Application Development Gerrit Meier and Michael Simons, SDN and OGM team @ Neo4j
  • 2. © 2023 Neo4j, Inc. All rights reserved. Who are we? Michael Simons Gerrit Meier
  • 3. © 2023 Neo4j, Inc. All rights reserved. Who are you? • Java Developer • Graph Specialist • Where are you from? • …
  • 4. © 2023 Neo4j, Inc. All rights reserved. Today’s plan • Get your development environment set up (If not already done) • Create Neo4j Java Driver-based Spring Boot applications • Concepts and Architecture of Spring Data Neo4j • Advance to a Spring Data Neo4j application ◦ Modelling ◦ Repositories • Control what gets loaded • Custom queries and projections • Working with Neo4jTemplate • Use Neo4jTemplate features • Testing • Add tests to your application
  • 5. © 2023 Neo4j, Inc. All rights reserved. Development environment • (free) Aura instance running • JDK 17 ◦ Driver and Spring Boot • IDE • Allow access to download artifacts from Maven Central • Docker for testing
  • 6. © 2023 Neo4j, Inc. All rights reserved. Database preparation
  • 7. © 2023 Neo4j, Inc. All rights reserved. Spring Boot application • start.spring.io • no dependencies • Maven/Gradle choose ◦ Choose what you are comfortable with ◦ Will use Maven
  • 8. © 2023 Neo4j, Inc. All rights reserved. 8 Live coding / code along Project setup
  • 9. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. 9 Practical part Create a Spring Boot application using the Neo4j Java Driver. Todo: • Add Neo4j Java Driver • Configuration in application.properties • Implement CommandLineRunner • Output all Movie-node titles
  • 10. © 2023 Neo4j, Inc. All rights reserved. Spring Data Neo4j Architecture Neo4j Java Driver spring-boot-autoconfigure provides
  • 11. © 2023 Neo4j, Inc. All rights reserved. Spring Data Neo4j Architecture Neo4j Java Driver spring-boot-starter-data-neo4j spring-boot-autoconfigure provides provides Spring Data Neo4j
  • 12. © 2023 Neo4j, Inc. All rights reserved. Spring Data Neo4j Architecture Spring Data Repositories Neo4j Template Neo4j Client Neo4j Java Driver spring-boot-starter-data-neo4j spring-boot-autoconfigure provides provides
  • 13. © 2023 Neo4j, Inc. All rights reserved. Spring Data Neo4j Architecture Spring Data Repositories Neo4j Template Neo4j Client Neo4j Java Driver spring-boot-starter-data-neo4j spring-boot-autoconfigure provides provides
  • 14. © 2023 Neo4j, Inc. All rights reserved. @Node("Person") public class Actor { @Id public final String name; @Relationship("ACTED_IN") public final List<Movie> movies; public Actor(String name, List<Movie> movies) { this.name = name; this.movies = movies; } } @Node public class Movie { @Id public final String title; public Movie(String title) { this.title = title; } }
  • 15. © 2023 Neo4j, Inc. All rights reserved. 15 Live coding / code along Spring Data Neo4j (starter) dependency Model domain classes First repository
  • 16. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. 16 Practical part Enrich the application by a PersonRepository with additional functionality. Todo: • Create a repository for the Person • Return Tom Hanks with all Movies, he acted in.
  • 17. © 2023 Neo4j, Inc. All rights reserved. @Node public class Person { @Id public final String name; public Person(String name) { this.name = name; this.movies = movies; } } @Node public class Movie { @Id public final String title; @Relationship(type="ACTED_IN", direction= Relationship.Direction.INCOMING) public List<Person> actors; @Relationship(type="DIRECTED", direction= Relationship.Direction.INCOMING) public List<Person> directors; @Relationship(type="PRODUCED", direction= Relationship.Direction.INCOMING) public List<Person> producers; public Movie(String title) { this.title = title; } }
  • 18. © 2023 Neo4j, Inc. All rights reserved. More on repositories Custom queries • Form your fetch shape by hand
  • 19. © 2023 Neo4j, Inc. All rights reserved. More on repositories Projections • Let SDN form your fetch shape
  • 20. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. 20 Practical part Use existing functionality in Spring Data Neo4j to load only the data you are interested in. Todo: • Custom query: Find a Movie by title with just the actors attached • Projection: Find a Movie by title with just the actors (additional PersonProjection)
  • 21. © 2023 Neo4j, Inc. All rights reserved. Pitfalls of Sub-Graph loading • Loaded slice is incomplete ◦ SDN takes the object (graph) to persist as the only truth ◦ Relationships will get removed • Open projections (DTOs) will adapt entity metadata and fall back to original query creation ◦ Also in multi-level projections starting with interfaces • Use-case specific projections ◦ A lot of interfaces/classes for each use-case
  • 22. © 2023 Neo4j, Inc. All rights reserved. 22 Live coding / code along Neo4jTemplate with Projections
  • 23. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. 23 Practical part Use projections for save operations. Todo: • Load Movie via Neo4jTemplate the Movie -> Actor projection • Edit the Movie (release year) and call save • Ensure that all relationships still exist
  • 24. © 2023 Neo4j, Inc. All rights reserved. Testing • Testslice @DataNeo4jTest ◦ Set up transaction manager, repositories, etc. • Testcontainers Neo4j ◦ Docker based solution to run integration tests
  • 25. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. 25 Practical part Use projections for save operations. Todo: • Load Movie via Neo4jTemplate the Movie -> Actor projection • Edit the Movie (release year) and call save • Ensure that all relationships still exist
  • 26. © 2023 Neo4j, Inc. All rights reserved. ..there is more, but just so little time • Reactive support • More query styles, like find by example • Fluent Neo4jClient API • …
  • 27. © 2023 Neo4j, Inc. All rights reserved. Stay connected • GitHub project pages ◦ https://github.com/spring-projects/spring-data-neo4j • Neo4j Community ◦ https://community.neo4j.com/c/drivers-stacks/spring-data-neo4j-ogm/30 • Developer Blog ◦ https://medium.com/neo4j
  • 28. © 2023 Neo4j, Inc. All rights reserved. © 2023 Neo4j, Inc. All rights reserved. 28 Thank you!