Build 2.0.0.CR1
========================
** BREAKING CHANGES from NH1.2.1GA to NH2.0.0
##### Infrastructure #####
* .NET 1.1 is no longer supported
* Nullables.NHibernate is no longer supported (use nullable types of .NET 2.0)
* Contrib projects moved to http://sourceforge.net/projects/nhcontrib
##### Compile time #####
* NHibernate.Expression namespace was renamed to NHibernate.Criterion
* IInterceptor have additional methods. (IsUnsaved was renamed IsTransient)
* INamingStrategy
* IType
* IEntityPersister
* IVersionType
* IBatcher
* IUserCollectionType
* IEnhancedUserType
* IPropertyAccessor
* ValueTypeType renamed to PrimitiveType
##### Possible Breaking Changes for external frameworks #####
* Various classes were moved between namespaces
* Various classes have been renamed (to match Hibernate 3.2 names)
* ISession interface have additional methods
* ICacheProvider
* ICriterion
* CriteriaQueryTranslator
##### Initialization time #####
* <nhibernate> section, in App.config, is no longer supported and will be ignored. Configuration schema for configuration file and App.config is now identical, and the App.config section name is: <hibernate-configuration>
* <hibernate-configuration> have a different schema and all properties names are cheked
* configuration properties are no longer prefixed by "hibernate.", if before you would specify "hibernate.dialect", now you specify just "dialect"
* All named queries will be validated at initialization time, an exception will be thrown if any is not valid (can be disabled if needed)
* Stricter checks for proxying classes (all public methods must be virtual)
##### Run time #####
* SaveOrUpdateCopy() returns a new instance of the entity without changing the original
* AutoFlush will not occur outside a transaction - Database transactions are never optional, all communication with the database must occur inside a transaction, whatever you read or write data.
* NHibernate will return long for count(*) queries on SQL Server
* <formula> must contain parenthesis when needed
* The HQL functions names may cause conflic in your HQL (reserved names are: substring,locate,trim,length,bit_length,coalesce,nullif,abs,mod,sqrt,upper,lower,cast,extract,concat,current_timestamp,sysdate,second,minute,hour,day,month,year,str)
* <any> when meta-type="class" the persistent type is a string containing the Class.FullName (In order to set a parameter in a query you must use SetParameter("paraName", typeof(YourClass).FullName, NHibernateUtil.ClassMetaType) )
##### Mapping #####
* <any> : default meta-type is "string" (was "class")
** Bug
* [NH-1361] - ProxyTypeValidator: Non-virtual public methods are accepted
* [NH-1389] - Sybase SQLAnywhere 8/9 support broken in Beta1 onword
* [NH-1399] - Database constraint names and hash collisions
* [NH-1403] - Support <any> with meta-type="class"
* [NH-1405] - composite-id property is nulled when related composite many-to-one mapping returns null.
* [NH-1406] - IQuery.SetTimeout work incorrect for ExecuteUpdate
* [NH-1408] - CriteriaTransformer don't clone a DetachedCriteria with sub DetachedCriteria
* [NH-1413] - Paging with multiple orders fail in MSSQL2005
** Improvement
* [NH-1304] - Reflection optimizer on != property access
* [NH-1415] - Adding multi query support to MySqlDataDriver
** New Feature
* [NH-1412] - Allow custom accessors to define if the ReflectionOptimizer can be used.
** Patch
* [NH-1254] - Sybase ASA10 - Dialect + Driver
* [NH-1390] - Union subclass support for PostgreSQL
** Task
* [NH-1410] - Spelling mistake in error message: sublcass must be subclass
Build 2.0.0.Beta2
========================
** Bug
* [NH-1030] - DB2400Dialect : mod(x,y) function triggers a parse exception
* [NH-1077] - Pessimistic locking for SQL Server fails on cached objects
* [NH-1258] - Oracle Sequences mappings without Schema information throwns InvalidKeyException
* [NH-1279] - AggressiveRelease tests fail for MySQL
* [NH-1300] - Detached Entities that have many-to-one associations improperly throw LazyInitializationExceptions when accessing the association outside the loading session
* [NH-1355] - Custom Version type (IUserVersionType) not allowed
* [NH-1362] - Nested cascades on ISession.Refresh()
* [NH-1375] - Disable Multi Query support for Npgsql
* [NH-1383] - Components with (non-C#) Nullables do not follow documentation sect. 7.1 "if all component columns are null, then the entire component is null"
* [NH-1384] - Support for latest Npgsql2 (PostgreSQL) Data Provider
** Improvement
* [NH-693] - Better error message when user forgets to supply table name
* [NH-803] - Support DML type batch sql statements
* [NH-824] - GetClassname cannot parse generic classnames
* [NH-938] - Escape characters in Like expressions
* [NH-978] - show_sql: Transaction Begin, Commit, Rollback
* [NH-1101] - component directy detection should consider null component value to be equiv to all component member's being null
* [NH-1151] - Improve Configuration to Support ASP.NET Configuration File Hierarchy and Inheritance
* [NH-1216] - SchemaExport creates varchar(255) on MySQL when Property Type is StringClob
* [NH-1236] - XML Entity support in mapping files broken
* [NH-1257] - lazy=true and fetch=join doesn't work together it will be nice to receive a WARN
* [NH-1364] - LinkedHashMap.RemoveImpl can be improved (using try/catch for common scenario)
* [NH-1382] - Oracle Dialect support for Unsigned Int (UInt32, UInt64)
** New Feature
* [NH-1115] - Add support for "Refresh" cascade style
* [NH-1367] - Add Interceptor or Event to Batcher
** Task
* [NH-1144] - Apply patch for NH-1022 (Oracle command batching) to trunk
* [NH-1210] - "table" attribute documented as required when in fact optional
Build 2.0.0.Beta1
========================
** Bug
* [NH-1238] - NH_1155_ShouldNotLoadAllChildrenInPagedSubSelect fails for MsSql2000Dialect
* [NH-1318] - Enum fields cannot be mapped to database on DB2
* [NH-1329] - Expression.Sql with parameters (inside of functions) is broken
* [NH-1346] - SchemaUpdate.Execute fails on MS SQL Server 2005 With Locale TURKISH_CI_AS
* [NH-1347] - SetMaxResult does not work with SQLite (SQLiteDialect)
* [NH-1348] - Cannot use multiple listeners for the same event type
** Improvement
* [NH-1172] - ASA 10 Driver for NHibernate
* [NH-1315] - ForeignGenerator.cs property Key is not found if the generator tag is empty causes exception
* [NH-1335] - Performance improvment of PersistentEnumType class
** Patch
* [NH-1254] - Sybase ASA10 - Dialect + Driver
* [NH-1326] - ISession.Disconnect() creates zombied transactions
* [NH-1327] - PostCommitXXXEventListeners invoked even when transaction fails
Build 2.0.0.Alpha2
========================
** Bug
* [NH-1100] - Introduce exception if two columns are being selected, but only one being returned by NH
* [NH-1145] - MultiCrieria Does Not Respect MaxResults on Criteria
* [NH-1161] - Java mentioned in NHibernate Documentation
* [NH-1203] - Problem to resolv property name
* [NH-1205] - Various subselect bugs in MultiCriteria
* [NH-1246] - Reading BinaryBlob triggers update when transaction is committed.
* [NH-1250] - Failure with MsSql2005Dialect when paging in polymorphic queries with discriminator formula
* [NH-1252] - Inconsistent behavior of ISession.Get() under certain conditions
* [NH-1263] - CreateSchema works ok for mappings in different schemas but DropSchema not
* [NH-1281] - Regression: Criteria Query does not deliver right result when compared to similar HQL query
* [NH-12
没有合适的资源?快使用搜索试试~ 我知道了~
NHibernate-2.0.0.CR1-bin.zip
共35个文件
dll:11个
xml:8个
txt:6个
需积分: 3 48 下载量 72 浏览量
2008-07-31
14:17:34
上传
评论
收藏 3.47MB ZIP 举报
温馨提示
NHibernate-2.0.0.CR1-bin.zip
资源详情
资源评论
资源推荐
收起资源包目录
NHibernate-2.0.0.CR1-bin.zip (35个子文件)
releasenotes.txt 71KB
bin
net-2.0
NHibernate.xml 1.85MB
nhibernate-configuration.xsd 8KB
NHibernate.pdb 5.26MB
Castle.DynamicProxy.license.txt 609B
NHibernate.license.txt 24KB
Iesi.Collections.dll 32KB
Castle.DynamicProxy2.dll 112KB
log4net.license.txt 11KB
Iesi.Collections.pdb 100KB
nhibernate-mapping.xsd 52KB
Iesi.Collections.license.txt 656B
log4net.dll 264KB
Castle.Core.dll 76KB
Iesi.Collections.xml 109KB
log4net.xml 1.3MB
Castle.DynamicProxy2.xml 35KB
Castle.Core.xml 137KB
NHibernate.dll 1.56MB
testbins
net-2.0
NHibernate.Test.Performance.pdb 40KB
NHibernate.Test.Performance.dll.config 3KB
NHibernate.Test.dll.config 5KB
Iesi.Collections.Test.pdb 56KB
TestEnbeddedConfig.cfg.xml 783B
nunit.core.dll 88KB
NHibernate.DomainModel.pdb 554KB
NHibernate.DomainModel.xml 43KB
NHibernate.DomainModel.dll 268KB
NHibernate.Test.pdb 2.96MB
nunit.framework.dll 76KB
Iesi.Collections.Test.dll 32KB
NHibernate.Test.dll 1.38MB
NHibernate.Test.Performance.dll 32KB
hibernate.cfg.xml 1KB
nunit.framework.license.txt 1KB
共 35 条
- 1
lixiaozhong
- 粉丝: 9
- 资源: 25
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0