I couldn't find any question which clearly explains about exact differences between hibernate.show_sql and spring.jpa.show_sql. That's why I am posting this question. Could you please anyone explain to me what are the differences between these two and when to use what?
As I know, when an application doesn't support spring & JPA and they are using only Hibernate, there is the only possible to use hibernate.show_sql. When an application supports Spring & JPA it's better to use spring.jpa.show_sql and no need of specifying the hibernate.show_sql. Correct me if something wrong in my understanding?
I have seen an application where both of these are configured in the application.properties, that's where I got the doubt.