when to use Repository methods and when to use mongoTemplate? <p>I am working on <code>Spring data mongo</code> with my <code>Spring MVC</code> application. I need to understand which is the correct way to improve performance if I wish to use multiple criteria's.</p> <ul> <li>Do I need to go for <code>Repository</code> methods? Or</li> <li>Do I need to go for <code>MongoTemplate</code>/<code>MongoOperations</code>?</li> </ul> <p>Which is advisable to use to improve performance with many contional criteria's ?</p>