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



Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap