Differences between Hibernate and NHibernate
Most features of Hibernate 2.1 are present in the 1.0.1 release of NHibernate.
Unimplemented features:(未实现的特性)
- Databinder - never requested by our users, so we consider it a low priority feature.
- SchemaUpdate - too complicated to implement, we will accept a patch if anybody decides to implement SchemaUpdate on their own.
- ScrollableResults - requires scrolling support from the underlying result set object. ADO.NET IDataReaders do not support scrolling.
- SqlExceptionConverter
Extra features (from Hibernate 3):
- fetch="join/select" attribute, equivalent to outer-join="true/false"
- unsaved-value guessing - NHibernate will try to guess unsaved-value for <id> and <version> if none is specified in the mapping file.
本文对比了Hibernate与NHibernate的主要特性。大多数Hibernate 2.1的功能已在NHibernate 1.0.1中实现,但仍有部分特性如Databinder、SchemaUpdate等尚未实现。此外,NHibernate还引入了一些额外功能,例如fetch属性的支持以及unsaved-value猜测机制。
306

被折叠的 条评论
为什么被折叠?



