What is repository annotation in spring?



What is repository annotation in spring?..

Answer / Prashant Kumar Nair

The Repository annotation in Spring is a part of Spring Data JPA. It's used to indicate that the class is a Spring Data JPA repository for the domain entity. The Repository interface extends the CrudRepository interface, which provides basic CRUD (Create, Read, Update, Delete) methods.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What is @enableautoconfiguration in spring?

1 Answers  


What is the difference between spring framework and spring boot? : Spring Boot

1 Answers  


Tell us about the spring framework.

1 Answers  


What are inner beans in spring?

1 Answers  


Does spring bean provide thread safety?

1 Answers  


What are the different modes of autowiring?

1 Answers  


What is spring jpa repository?

1 Answers  


Is spring a link?

1 Answers  


Name the different modules of the spring framework?

1 Answers  


What is the use of @service in spring?

1 Answers  


What are the advantages of spring framework?

1 Answers  


What are the types of controller in spring?

1 Answers  


Categories