Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-18-2021 05:05 PM
Hi guys,
Using SDN4, I can save nodes(using NodeEntity) and relationships( using RelationshipEntity).
When I upgraded to SDN46, I can only save nodes(using Node), How can Ioperate the relationship alone?
07-19-2021 12:49 AM
Relationships / RelationshipEntities are not an entity anymore starting with SDN 6. This representation was not accurate before, because relationships cannot exist without the a start and an end node. In the context of an object mapper those start and end nodes are explicitly defined entities/nodes.
If you really want to operate on the relationships on their own, you would have to use custom Cypher queries e.g. in combination with the Neo4jClient
.
All the sessions of the conference are now available online