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,以下是正确的:
<mapping resource="jebe7282/study/hibernate/Classes.hbm.xml"/>