S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which annotation is used to enable JPA auditing in Spring Boot?

  • (A) @EnableJpaAuditing
  • (B) @EnableAudit
  • (C) @EnableJpaTracking
  • (D) @JpaAuditor
  • Correct Answer - Option(A)
  • Views: 11
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@EnableJpaAuditing enables automatic population of auditing-related fields like createdDate.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.