Browse Source

默认不打印sql

xiatian 2 years ago
parent
commit
00788749ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      stmms-biz/src/main/resources/META-INF/persistence.xml

+ 1 - 1
stmms-biz/src/main/resources/META-INF/persistence.xml

@@ -6,7 +6,7 @@
 	<persistence-unit name="common" transaction-type="RESOURCE_LOCAL">
 		<shared-cache-mode>ENABLE_SELECTIVE</shared-cache-mode>
 		<properties>
-			<property name="hibernate.show_sql" value="true" />
+			<property name="hibernate.show_sql" value="false" />
 			<property name="hibernate.format_sql" value="true" />
 			<property name="hibernate.cache.region.factory_class"
 				value="org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory" />