feat(config): enable Hibernate SQL logging
This commit is contained in:
@@ -20,5 +20,13 @@
|
|||||||
|
|
||||||
<property name="hibernate.hbm2ddl.auto"> update </property>
|
<property name="hibernate.hbm2ddl.auto"> update </property>
|
||||||
|
|
||||||
|
<!-- SQL logging -->
|
||||||
|
|
||||||
|
<property name="hibernate.show_sql">true</property>
|
||||||
|
|
||||||
|
<property name="hibernate.format_sql">true</property>
|
||||||
|
|
||||||
|
<property name="hibernate.highlight_sql">true</property>
|
||||||
|
|
||||||
</session-factory>
|
</session-factory>
|
||||||
</hibernate-configuration>
|
</hibernate-configuration>
|
||||||
|
|||||||
Reference in New Issue
Block a user