在springformongodb中,会发现当一个pojo序列化为一个document时,会出现如下情况:publicclassUser{Stringusername;Stringpassword;}转变为mongodb时MongoOperationsmongoOperation=(MongoOperations)ctx.getBean("mongoTemplate");Useruser=newUser("abc","password123");mongoOperation.save(user...
查看全文