Skip to content

Spring Data not populating Relationships with ID [DATAGRAPH-1444] #2006

Closed
@spring-projects-issues

Description

@spring-projects-issues

Marcos Stival opened DATAGRAPH-1444 and commented

After upgrading to Spring Boot 2.4.0 (so using SDN 6.0.1) I got some problems.

There's no @RelationshipEntity anymore so I guess in my code I should change it to @RelationshipProperties.

 

After searching the documentation I can't figure how to make it return the id property of a relationship. +Before the version upgrade, every relationship property was returned correctly, now it doesn't.+

I tried to add a @Property annotation to the id field, but an Exception was raised by Spring.

The id field is annotated with @Id and @GeneratedValue

 
 
 
 


Affects: 6.0.1 (2020.0.1)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions