Question: what is the difference between jpa repository and crudrepository?
Answer: Crud Repository is the base interface and it acts as a marker interface. JPA also provides some extra methods related to JPA such as delete records in batch and flushing data directly to a database. ... JpaRepository ties your repositories to the JPA persistence technology so it should be avoided.