Trade-offs

Compare the pros and cons of the different querying methods in Spring Data.

We'll cover the following

Spring Data MongoDB methods

In exploring Spring Data MongoDB, we’ve seen:

  • Standard CRUD methods (findAll and findById)

  • Custom finder methods (findByNameContaining)

  • Query by Example

  • The MongoOperations

  • The @Query-annotated finders

  • Fluent API

Get hands-on with 1200+ tech skills courses.