Chapter 9. Spring Data Neo4j

This chapter covers

  • Creating a domain model using Spring Data Neo4j (SDN)
  • Loading and saving your SDN domain entities
  • Object-graph mapping modes work within SDN
  • Performing queries with SDN

Until now we’ve been working directly with the core Neo4j graph primitives—nodes and relationships—to represent and interact with (that is, read and persist) various domain model concepts.

Though that approach is extremely powerful and flexible, operating with the low-level Neo4j APIs can sometimes be quite verbose and result in a lot of boilerplate code, especially when it comes to working with domain model entities. In this chapter we’ll introduce you to Spring Data Neo4j (SDN), a subproject within the broader Spring ...

Get Neo4j in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.