O'Reilly logo

Neo4j in Action by Aleksa Vukotic and Nicki Watt with Tareq Abedrabbo, Dominic Fox, and Jonas Partner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required