CodesJava

Easy learning with example program codes

How to log hibernate generated sql queries in log files?


We have to set hibernate.show_sql property in hibernate configuration.

<property name="hibernate.show_sql">true</property>

Related topics

Please follow and like us:


Copyright © 2019 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki