Return to site

🍃🎓 SPRING CERTIFICATION QUESTION: What is an "instant repository"? (hint: recall Spring Data)

· vcp,spring,java


Instant repository term refers to the dynamic creation of a repository implementation.

Such functionality is offered by the 'spring-data-jpa' module.


In order to utilize this functionality the following steps must be taken:

- Configuration class has also been marked with "Enable[Jpa]Repositories" annotation.

- custom repository interface has to extend the Repository interface, or has to be marked with RepositoryDefinition annotation.

#spring #certificationquestion #vcp