<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>
时间: 2024-10-22 23:03:08