Spring.NET - 从 1.1 升级到 NHibernate 2.0 时是否需要升级?
我想从 NHibernate 1.1 升级到 NHibernate 2.0。
既然我们使用 NHibernate/Spring.NET 集成模块,我是否也有义务将 Spring.NET 升级到 v1.2? 我们目前正在 .NET Framework 3.0 下发布我们的版本。
I want to upgrade to NHibernate 2.0 from NHibernate 1.1.
Am I obliged to upgrade Spring.NET to v1.2 as well since we're using the NHibernate/Spring.NET integration module? We're currently publishing our releases under .NET Framework 3.0.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我几个月前就这样做了,没有遇到任何重大问题。 我想我必须对一些相关调用进行一些更改,并使用 NHibernate20 程序集。 试一试,会有什么坏处? 只要您的代码处于源代码控制中,您就应该能够恢复。 然后你就可以运行测试了;-)
.NET Framework 3.0 或 3.5 也可以,因为它们都位于 .net 2.0 之上:http://en.wikipedia.org/wiki/File:DotNet.svg
祝你好运。
I did this a few months ago and didn't have any major issues. I think I had to make a couple of changes to a few relevant calls, and use the NHibernate20 assembly. Give it a go, what harm is it going to do? As long as your code is in source control you should be able to revert back. And then you can run your tests ;-)
.NET Framework 3.0 or 3.5 is okay as well, as they both sit on top of .net 2.0: http://en.wikipedia.org/wiki/File:DotNet.svg
Good luck.