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

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -