The dialect was not set. Set the property hibernate.dialect

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

上一篇:全部开放网关架构后 蓝牙技术充分扩展IoT潜在应用领域


下一篇:前端javascript框架之AngularJS学习笔记