Issue
I don't know the difference between JpaRepository
and MongoRepository
.
Solution
JPARepository and MongoRepository are technology-specific abstraction of the Spring Data Repositories.
If you are using RDBMS such as MySQL/PostgreSQL, you may use Spring Data Repositories such as JpaRepository. If using a NoSQL such as Mongo, you will need the MongoReposiroty.
Answered By - Gustavo Rodrigues
Answer Checked By - Mary Flores (JavaFixing Volunteer)