标签:
The dialect was not set. Set the property hibernate.dialect
load hibernate.cfg.xml 出现了问题
获取配置信息代码应该这样写
Configuration conf = new Configuration().configure();
2009.8.31 更新.
An AnnotationConfiguration instance is required to use <mapping class="jebe7282/study/hibernate/Classes.hbm.xml"/>
这个是mapping 标签配置属性问题class 应该 改为resource
资源用resource,类用class
The dialect was not set. Set the property hibernate.dialect
标签:
原文地址:http://www.cnblogs.com/toSeeMyDream/p/5539677.html