EN:Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
CN:访问dialectresolutioninfo不能为空时,方言没有设置。
情况一:未在【Hibernat.cfg.xml 】中配置方言
mysql数据库正常配置如下:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="javax.persistence.validation.mode">none</property>
<!-- dialect 数据库方言 -->
<property name