错误提示
解决办法
核心配置文件xml中要配置方言
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
之后添加
<property name="current_session_context_class">thread</property>
ok
错误提示
解决办法
核心配置文件xml中要配置方言
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
之后添加
<property name="current_session_context_class">thread</property>
ok