@Repository - Spring Annotation

Опубликовано: 18 Июнь 2026
на канале: Campus Learn
518
13

#shorts

@Repository Annotation is a specialization of @Component annotation which is used to indicate that the class provides the mechanism for storage, retrieval, update, delete and search operation on objects

Though it is a specialization of @Component annotation, Spring Repository classes are autodetected by the spring framework through classpath scanning.

#java #learning #learnprogramming #freshers #jobsearch #spring #springboot #springboottutorial #annotations #backenddeveloper #backendwebdevelopment #repository #interview #interviewquestions #interviewtips