文件名称:spring-and-hibernate
- 所属分类:
- JSP源码/Java
- 资源属性:
- 上传时间:
- 2012-11-26
- 文件大小:
- 5kb
- 下载次数:
- 0次
- 提 供 者:
- s*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这是本人在采用J2EE架构开发程序时所采用的Spring和Hibernate的混合框架的配置文件,Hibernate 将自身托管给Spring,换取Spring对Hibernate进行全面的支持。Spring为Hibernate注入SessionFactory对象,通过Hibernat来持久化对象,而Hibernate只需要获得SessionFactory的引用,便可以智能的打开Session,并通过Data Access Object(DAO)完成对数据库的CRUD(增、删、改、查)操作,并在持久化访问结束后关闭Session。-I used Spring and Hibernate with J2EE architecture and development process of the mixed fr a mework configuration file, the Hibernate will be hosting their own to the Spring, in exchange for full support of Spring with Hibernate. Spring inject the SessionFactory for Hibernate persistent objects through Hibernat Hibernate only needs access to the SessionFactory reference, can be smart to open the Session, and by the Data Access Object (DAO) to complete the database CRUD (increase, delete, change, check) operation, and close the Session after the end of the visit of the persistence.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
applicationContext.xml
business-applicationContext.xml
hibernate-applicationContext.xml
web.xml
business-applicationContext.xml
hibernate-applicationContext.xml
web.xml