title: Is there any way to update whole Entity in MongoDB?
body: <p>I'm using Spring Data MongoDB and currently I'm wondering if there's any way to update whole entity like mongoTemplate.update(entityObject)? Because the usual way is to update properties one-by-one.. 
  P.S. Code written in Java.</p>