1.添加hibernate的jar包
2.映射文件名字xxx.hbm.xml
2.1
3. 建立配置文件
4.配置文件内容
hibernate(1)
原文:https://www.cnblogs.com/mm163/p/10753565.html