Skip to content

Issue sample using @DocumentReference for one-to-many relationship

Notifications You must be signed in to change notification settings

joeshadbolt/spring-data-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-data-mongodb

Issue sample using @DocumentReference for one-to-many relationship

Problem

Attempting to use @DocumentReference annotation to retrieve child documents associated with parent results in the error EL1007E: Property or field '_id' cannot be found on null.

Test to re-create

See com.example.springdatamongodb.EngagementRepositoryTest.

About

Issue sample using @DocumentReference for one-to-many relationship

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages