Skip to content

SDN not creating UUID when saving  #2214

Closed
@mrksph

Description

@mrksph

Hi,

Spring Boot 2.4.2, SDN 6.0.3

Im trying to save a Node which has an Outgoing Relationship with UUID as its ID.

@RelationshipProperties
@Getter
@Setter
public class TestRelationship {

@Id
@GeneratedValue(generatorClass = UUIDStringGenerator.class)
private UUID uuid:

@TargetNode
private Node child;

}
Node parent = new Node();
Node child = new Node();

TestRelationship testRel = new TestRelationship();
testRel.setChild(child);
parent.setRel(testRel);
repository.save(parent);

This results in the relationship not saving the UUID.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions