If you want to see the Hibernate generated SQL statements on console, what should we do?
If you want to see Hibernate generated SQL statement on console. For this, you need to write a property tag with show_ sql attribute in hibernate.cfg.xml. <property name=?show_sql? >true</property>