S

Shyam Dubey • 3.70K Points
Extraordinary

Q. What is the purpose of spring.jpa.show-sql=true?

  • (A) Enables security logs
  • (B) Shows executed SQL statements in logs
  • (C) Enables exception logging
  • (D) Prints server port on console
  • Correct Answer - Option(B)
  • Views: 19
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey

spring.jpa.show-sql=true logs the executed SQL statements to the console.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.