You can add properties direct to hibernate.cfg.xml like this :
<property name="show_sql">true</property>
For Eclipse users:You can turn on hibernate.show_sql=true in MyEclipse config editor - open your hibernate.cf.xml, find tab 'Properties' click add, choose
show_sql and set value to true
No comments:
Post a Comment