What does @repository do in spring?
Answer / Himanshu Dubey
The @Repository annotation is used to define a Spring Data Repository, which is an interface that extends the CrudRepository interface and provides methods for common database operations such as create, read, update, and delete (CRUD) operations.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can annotation extend another annotation?
Name some of the design patterns used in spring framework?
Does spring boot need web xml? : Spring Boot
What is @qualifier in spring?
State the differences between applicationcontext and beanfactory in spring?
Why is spring so important?
What is difference between spring boot and spring framework? : Spring Boot
What is @controller in spring?
What is a spring framework?
What is the difference between autowiring and dependency injection?
Why is loose coupling important?
What is the typical bean life cycle in spring bean factory container?