For the latest stable version, please use Spring Data Neo4j 7.4.0!

Object Mapping

The following sections will explain the process of mapping between your graph and your domain. It is split into three parts. The first part explains the actual mapping and the available tools for you to describe how to map nodes, relationships and properties to objects. The second part shows the options and implications of using a specific identifier style for your entities. The third part will have a look at Spring Data’s object mapping fundamentals. It gives valuable tips on general mapping, why you should prefer immutable domain objects and how you can model them with Java or Kotlin.