Migration to RX

With the SDN 6.0 RC1 that has been released last Wednesday, there is a new API for mapping relationships with properties.

@RelationshipProperties
public class CarriedBy {

  @Property("Route_ID")
  private String id

// other properties

  @TargetNode
   private RouteEntity endRoute;
}

and in your RouteEntity something like:

@Relationship("CARRIED_BY")
private List<CarriedBy> carriedByRouteEntities;

will make SDN use those relationship properties classes.

For the raw conversion, you would need to define your own converter as described here: Spring Data Neo4j⚡️RX

Note: We are currently updating the documentation and examples for the new relationship properties and moving all to the official Spring Data reference docs.