![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hibernate
文章平均质量分 65
鸟不拉蛋
这个作者很懒,什么都没留下…
展开
-
hibernate+struts2 订餐项目
**模拟订餐系统** 首先:要导入所需要导入的jar 包 配置好hibernate.cfg.xml 和struts.xml 我个人包的区分 dao层主要 sql 交互 service层 写业务代码 action层 负责 页面的跳转 util主要写一些常用的工具 先写实体类(注意提供set get方法) 配置好对应的 XXX.hbm.xmldao层写一个实现接口 利用Hibernat原创 2017-02-20 22:32:27 · 820 阅读 · 0 评论 -
Hibernate的 HelloWord
步骤一 步骤 二步骤三 接下来 就 可以 去Mysql 去查是否有数据了select * from user1;原创 2017-02-14 20:56:26 · 197 阅读 · 0 评论