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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -