首页 > 代码库 > mysql sleep进程过多,应用级配置

mysql sleep进程过多,应用级配置

<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">
<!-- org.hibernate.dialect.MySQLDialect -->
<!-- 解决No Dialect mapping for JDBC type: -1 -->
framework.utils.MySQLDialect
</prop>
<prop key="hibernate.show_sql">
false
</prop>
<prop key="hibernate.formate_sql">
true
</prop>
<prop key="hibernate.connection.release_mode">after_transaction</prop>
</props>
</property>

mysql sleep进程过多,应用级配置