摘要: 在使用Nhibernate中出现的一个问题: 某个页面加载了一个hbm.xml后,该页面不能同时被两个以上的浏览器进程访问,否则报“Duplicate class/entity mapping Course ” 暂未解决。谁能帮帮忙 ps:我的加载方法是在page_load中 直接写mCfg.AddXmlFile(System.Web.HttpContext.Current.Server.... 阅读全文
posted @ 2008-08-14 09:54 —无 名 阅读(3208) 评论(7) 推荐(0) 编辑
摘要: 学习网址:http://www.summerofnhibernate.com/ Video | Code Session 01: Setup and Basic Usage Pattern Video | Code Session 02: Exploring Query Methods and Sy... 阅读全文
posted @ 2008-08-14 09:40 —无 名 阅读(1714) 评论(10) 推荐(0) 编辑
摘要: 问题1.未能找到元素“urn:nhibernate-mapping-2.0:hibernate-mapping”的架构信息。 file:///c:/inetpub/wwwroot/WebApplication1/bin/Course.hbm.xml, (2, 2)处发生了错误。 解决办法: 一、Test.Model.Person.hbm.xml(2,2): XML validation erro... 阅读全文
posted @ 2008-08-14 09:36 —无 名 阅读(1013) 评论(2) 推荐(0) 编辑