1.

How Can We See Hibernate Generated Sql On Console?

Answer»

We need to add following in HIBERNATE configuration file to ENABLE viewing SQL on the console for debugging PURPOSES:
[XML]
&LT;property name=”show_sql”>true</property>
[/xml]

We need to add following in hibernate configuration file to enable viewing SQL on the console for debugging purposes:
[xml]
<property name=”show_sql”>true</property>
[/xml]



Discussion

No Comment Found