i am totally new in mongo, i have learn mongo shell commands and now want to integrate mongo with java. in order to do this we have mongo client which is basic , for ease we have mongoTemplate and monggoRepositiry but what is difference between mongoTemplate and mongoRepository? i have read and tried to understand "What's the difference between Spring Data's MongoTemplate and MongoRepository?" but unable to get it.
Please tell me the difference in terms of benefit, drawbacks , methods , if there any relation between them or something other.
and one more question, spring data is mongoTemplate or mongoRepository?