java - Spring MongoDB cascade saving issue -


i know spring mongodb not support cascade saving on @dbref.

in situation, using embedded document.

if save/update person, objects in mobile collection can update automatically

but not number collection inside address, postcode in address works fine.

i sorry cannot provide code. every thing implement person, persondao, persondaoimpl stucture. there no special code updating database. address object not document in mongodb, therefore without addressdao or addressdaoimpl. address field of perosn updated apart number collection field of address object

person{    name:abc    mobile:[....] (this updated/saved correctly)    address{         number:[...](this not created/update/saved)         postcode:abc    } } 

anyone know issue collection in nested embedded relationship?


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -