文章分类 -  NH

SPRING与NH框架各集集的作用与搭框架步骤 下载地址https://pan.baidu.com/s/1nwjUQTz
该文被密码保护。

posted @ 2018-01-29 16:18 高达 阅读(9) 评论(0) 推荐(0)

把容器从<section name="context" type="Spring.Context.Support.ContextHandler,Spring.Core" />改为 <section name="context" type="Spring.Context.Support.WebContextHandler, Spring.Web" />
摘要:报错:Can't get WebApplicationContext object from ContextRegistry.GetContext(): Resource handler for the 'web' protocol is not defined 解决方案:添加<add name=" 阅读全文

posted @ 2017-12-08 16:10 高达 阅读(169) 评论(0) 推荐(0)

NH第一个nhibernate程序
摘要:第一步:下载程序对应的程序集 https://sourceforge.net/projects/nhibernate/files/NHibernate/ 下载程序集后看到项目有如下DLL与对应的配置文件 第二步:在对应程序中添加对应的配置文件(主要作用通过配置的形式初始货session-factor 阅读全文

posted @ 2017-10-29 17:49 高达 阅读(106) 评论(0) 推荐(0)

导航