adspace


What is repository annotation in spring?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you inject java collection in spring?

518


What is difference between @controller and @restcontroller in spring?

556


What is lazy class?

490