摘要: 一.准备工作:导入jar包 1.hibernate的jar包 位置: 包名: 2.jdbc的jar包 3.新建数据库:hibernate5 hibernate5会根据关系映射文件自动创建你配置的数据表 但前提是你的数据库必须存在 不然会抛异常 二.编写hibernate配置文件准备工 1.创建hib 阅读全文
posted @ 2016-03-23 22:06 小土豆biubiubiu 阅读(574) 评论(0) 推荐(0) 编辑