将 Spring.NET 与 NHibernate 3 结合使用
我正在尝试将 sping.net nhibernate 与最新的 nhibernate 3 版本集成。不幸的是 spring.net 引用了 nhibernate 2.1.2.4000。
我尝试通过程序集重定向到 3.0.0.1002 来修复它,但这会产生错误:
程序集“Spring.Data.NHibernate21,版本=1.3”的类型“Spring.Data.NHibernate.Bytecode.ProxyFactoryFactory”中的方法“IsInstrumented”。 0.20349,Culture=neutral,PublicKeyToken=65e474d141e25e07”没有实现。
有什么方法可以让 NHibernate 3.0 与 Spring.NET 一起工作吗?
非常感谢
I am trying to use the sping.net nhibernate integration with the latest nhibernate 3 release. Unfortunately spring.net references nhibernate 2.1.2.4000.
I tried to fix it with an assembly redirect to 3.0.0.1002 but this yields the error:
The method "IsInstrumented" in Type "Spring.Data.NHibernate.Bytecode.ProxyFactoryFactory" of Assembly "Spring.Data.NHibernate21, Version=1.3.0.20349, Culture=neutral, PublicKeyToken=65e474d141e25e07" does not hava an implementation.
Any way to get NHibernate 3.0 to work with Spring.NET?
Thank you very much
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Spring.NET 1.3.0 的最新“夜间构建”提供了对 NH 3.0.0.1002 的支持,无需程序集重定向声明。请注意,Spring.NET 下对 NH3 的支持只是实验性的,直到 NH3 实际发布为止,届时 Spring.NET 将正式支持正式发布的 NH3 版本:)
Spring.NET 每晚下载可在此处访问:http://www.springframework.net/downloads/nightly/
The latest "nightly builds" of Spring.NET 1.3.0 provides support for NH 3.0.0.1002 without requiring an assembly redirect declaration. Note that support for NH3 under Spring.NET is experimental only until NH3 is actually released at which time Spring.NET will officially support the officially released version of NH3 :)
The Spring.NET nightly downloads may be accessed here: http://www.springframework.net/downloads/nightly/