Is there a better implementation for SybaseDialect in Version 3.0 of NHibernate?

给你一囗甜甜゛ 提交于 2019-12-12 01:34:45

问题


We have upgraded to NHibernate 3.0 with Fluent-NHibernate.

In version 2.1.2 we where able to use the SybaseDialect for ASE 12. In version 3.0 SybaseDialect for ASE 12 is not supported.

I reused the old Dialect from Nhib 2.1.2 and all is working.

What I wanted to ask since this one was removed as it was considered not a good implementation, is there a better one out there?

Since it's working I am not sure what improvements need be made but I thought I would ask.


回答1:


This blog post has the scoop. Haven't tried upgrading so can't comment if the version 2.1.2 Sybase dialect with NHibernate 3.0 will perform any differently than using it with the NHibernate 2.1.2 version.




回答2:


I took the Dialect class from NHibernate v2.1.2 and created a SybaseDialect.cs and then in the Config file I reference it, this seems to work fine.



来源:https://stackoverflow.com/questions/4795533/is-there-a-better-implementation-for-sybasedialect-in-version-3-0-of-nhibernate

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!