S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which annotation is used to declare a repository in Spring Boot?

  • (A) @Repository
  • (B) @DAO
  • (C) @Storage
  • (D) @Component
  • Correct Answer - Option(A)
  • Views: 12
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@Repository is a stereotype annotation for persistence layer components.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.