Known BREAKING CHANGES from NH3.3.3.GA to 4.0.0

Build 4.0.0.Alpha1
=============================
 
** Known BREAKING CHANGES from NH3.3.3.GA to 4.0.0
 
    NHibernate now targets .Net 4.0. Many uses of set types from Iesi.Collections have
    now been changed to use corresponding types from the BCL. The API for these types
    are slightly different.
 
    Support for persistent non-generic collections removed. Use the generic counterparts instead.
 
    ##### Possible Breaking Changes #####
        * IDeleteEventListener, IEventSource: Use generic ISet<> instead of non-generic in method signatures.
        * SqlString.Parts removed. Use SqlString.Count and SqlString.GetEnumerator().
        * IPersistentCollection.GetSnapshot() now returns object instead of ICollection. The snapshot should be opaque to outside code.
        * Removed IsDiscriminatorFormula, DiscriminatorFormula and GenerateSelectString from UnionSubclassEntityPersister class.
        * Removed ManagedWebSessionContext. Any configuration files which use the "managed_web" session context should now use "web"
        * SybaseASADialect removed: Use SybaseSQLAnywhere10Dialect instead.
        * ASA10ClientDriver, ASAClientDriver and SQLiteDriver removed: Use SybaseSQLAnywhereDriver, SybaseAsaClientDriver, SQLite20Driver instead.
        * Removed Classic HQL Parser.
        * Removed IQueryTranslatorFactory2. It's methods were pulled up to IQueryTranslatorFactory. Method CreateQueryTranslators accepting string as first argument marked as Obsolete.
        * IQueryExpression.Translate now has second boolean argument 'filter'
        * Added several methods which accepts IQueryExpression to ISessionImplementor, which is duplicating methods which accepts string.
        * Miss-spelled AdoNetWithDistrubtedTransactionFactory removed: Use AdoNetWithDistributedTransactionFactory instead
        * HqlDistinctHolder removed: Use HqlExpressionSubTreeHolder instead
        * DisableLogFormattedSql method removed: the default is disabled
        * ISession.SaveOrUpdateCopy removed: Use Merge instead
        * Oracle and MySQL: The atan2 and power functions now return double (instead of single) for consistency with other dialects.
        * Removed FirebirdDriver. It was the same as FirebirdClientDriver since 3.2, and the latter have been the default since then.
        * Removed bunch of unused methods on *Helper classes
        * Static fields on NHibernateUtil are declared as their exact class
 
** Sub-task
    * [NH-3038] - Add Support for SQL Server 2012 Query Paging
    * [NH-3098] - Pull code/history from nhibernate-core repository to new iesi.collections repository
    * [NH-3099] - Remove Iesi.Collection-related code from nhibernate-core repository
    * [NH-3163] - Remove internal use of non-generic ISet
    * [NH-3165] - Remove support for non-generic ISet in mapped classes
 
 
** Bug
    * [NH-2008] - Mapping <set> with HashSet<T> generates unecessary update on collection owner
    * [NH-2033] - Composite-Id relationships (key-many-to-one) do not appear to be used in CreateCriteria
    * [NH-2762] - Failed to use IGrouping<TKey, TElement>.Contains() from Lookup to make SQL IN statement
    * [NH-2772] - Lazy-collection not loaded when a property is Lazy-loaded
    * [NH-2819] - DefaultDynamicLazyFieldInterceptor does not handle generic methods correctly
    * [NH-2852] - Linq ThenFetch fails on deep where clause.
    * [NH-2897] - MultiQuery/ToFuture broken with Contains (in)
    * [NH-2915] - In Linq, Where clause is ignored if followed by Fetch and then by OrderBy
    * [NH-2923] - Extra lazy indexed collection throws InvalidCastException fetching Count
    * [NH-2955] - AbstractQueryImpl accepts IEnumerables in SetParameterList but breaks if they're not ICollections
    * [NH-2977] - MsSqlServer dialects reject custom SQL Server queries with limits
    * [NH-2985] - Wrong equals operator when you use <list> mapping when child has property with lazy="true"
    * [NH-3056] - Fetch clause suppresses where clause if positioned before Select clause
    * [NH-3058] - Methods on entities with lazy properties do not trigger load of lazy properties
    * [NH-3070] - Proxy for an entity with a lazy property and a formula property is not .Equal to itself
    * [NH-3132] - Property with access="field.camelcase" not working when another property is lazy
    * [NH-3139] - Optional Entity association using lazy property returns proxy instead of null
    * [NH-3160] - Null reference Exception when creating schema for dialect that doesn't support unique
    * [NH-3183] - Linq ToFuture/ToFutureValue does not fall-back if dialect does not support multi-queries
    * [NH-3186] - Simple query with Fetch and SingleOrDefault throws exception (regression from 3.3.0)
    * [NH-3202] - Offset parameter is off by one for dialects with OffsetStartsAtOne set (SybaseSQLAnywhere10+)
    * [NH-3235] - Query plan cache cannot be set to size zero
    * [NH-3236] - Build menu incorrectly launches NUnit
    * [NH-3244] - Proxying fails for methods with generic class as generic parameter constraints or generic parameter attributes
    * [NH-3256] - GroupBySelectClauseRewriter fails or is suboptimal on .Net 4.0
    * [NH-3260] - Unable to proxy generic methods with constraints referencing type parameters from containing class
    * [NH-3274] - Take() support broken with Informix
    * [NH-3281] - Linq providers are not being passed Limit and/or Offset as value only as parameters
    * [NH-3340] - NHibernate assembly loses the AllowPartiallyTrustedCallers attribute after ILMerge
    * [NH-3381] - atan2 should be defined to return double on Oracle and MySql
    * [NH-3420] - Race Condition in result set wrapper because of the ColumnNameCache
 
** Improvement
    * [NH-2005] - hql concat function not registered in MsSqlCeDialect
    * [NH-2808] - Missing overloads for Session.Save/Update/SaveOrUpdate
    * [NH-3037] - ActionQueue Insertion sort performance degrades exponentially (HHH-2957 Port)
    * [NH-3054] - Mapping By-Code support for non-generic User Collection Types
    * [NH-3133] - Support for importing classes in mapping.
    * [NH-3175] - Joins should support additional restrictions (HQL-with)
    * [NH-3238] - Add Sql2008ClientDriver support in DatabaseSetup for testing
    * [NH-3272] - Move TypeHelperExtensionMethods to a more internal namespace
    * [NH-3319] - Typo in a folder name in NHibernate.Test project
    * [NH-3343] - Remove NHibernate custom Tuple classes
    * [NH-3382] - Improve materialization performance (for simple Linq query, may reduce 50%+ time)
    * [NH-3398] - Support PostgreSQL trigonometric functions
    * [NH-3399] - Static fields on NHibernateUtil should be declared as their exact class
    * [NH-3459] - DefaultIfEmpty not supported when used with a GroupBy
    * [NH-3553] - Support the 'power' function on MS SQL Server
 
** New Feature
    * [NH-3164] - Support building NHibernate on .Net 4
    * [NH-3166] - Support for Microsoft Sql Server 2012
    * [NH-3193] - MsSqlCeDialect should correct override string manipulation functions
    * [NH-3195] - MsSqlCeDialect should support TOP limit
    * [NH-3284] - New Ingres9+ Dialect
    * [NH-3349] - Add support for managed ODP.NET
 
** Patch
    * [NH-2778] - Batcher for MySql
    * [NH-3540] - Null pointer exception for empty BaseDirectory (Path.combine)
 
** Task
    * [NH-2997] - Where() clause with many-to-many relation is missing (solution in description)
    * [NH-3097] - Move Iesi.Collections project to own repository
    * [NH-3185] - Update included Iesi.Collections.dll and add its pdb file
    * [NH-3314] - Remove ManagedWebSessionContext
    * [NH-3322] - Remove one of the Firebird drivers
    * [NH-3339] - Remove SecurityPermission attributes with LinkDemand for .NET 4.0 assemblies
    * [NH-3344] - Remove the classical HQL parser
    * [NH-3345] - Remove support for persistent non-generic collections
    * [NH-3346] - Remove members obsolete in NH3 from NH4
    * [NH-3347] - Remove obsolete dialects for NH4
 
Build 3.3.3.SP1
=============================
 
Fixes for regressions introduced in the 3.3.3 cycle.
 
** Bug
    * [NH-3429] - Exception when debug logging is enabled when using a linq expression that requires a proxy class.
    * [NH-3436] - Linq-Query with IList<X>.Contains fails with NotSupportedException(The constant for 'System.Collections.Generic.List`1[System.Guid]' is not supported) at HqlTreeBuilder.Constant
 
Build 3.3.3.GA
=============================
 
BEWARE: In versions prior to 3.3.3.CR1, the handling of the LINQ Take() method
        was flawed - no matter where in the query Take() was placed it was
        always applied as if it had been placed at the end. 3.3.3 fixes this,
        so that Take() now correctly follows the .Net semantics. That is, in
        3.3.3, the following queries might now give different results:
 
            session.Query<Foo>.OrderBy(...).Take(5).Where(...);
            session.Query<Foo>.Where(...).OrderBy(...).Take(5);
 
        Starting with 3.3.3, the first query will generate a subquery to correctly
        apply the row limit before the where-clause.
 
** Bug
    * [NH-2408] - SQL Server pessimistic locking syntax incorrect for union-subclass
    * [NH-3109] - Rounding float values in aggregate functions with group by statements (MySQL).
    * [NH-3324] - HQL: ArgumentNullException when using LEFT OUTER JOIN and SetMaxResults
    * [NH-3408] - System.IndexOutOfRangeException when using Contains on a List<byte[]>
    * [NH-3413] - Clearing a list used by Contains causes subsequent queries to fail
 
Build 3.3.3.CR1
=============================
 
** Fix
    * [NH-3148] - ComponentAsId properties do not maintain the Column specified using property mapper when component is from base class
 
** Sub-task
    * [NH-3052] - Projection of one-to-many generates invalid SQL
    * [NH-3385] - Add ability to expand many subcollections with WCF Data Services
 
** Bug
    * [NH-2042] - Table per subclass, using a discriminator mappings with formula in child class error
    * [NH-2539] - Contains/StartsWith fails when invoked via WCF Data Service.
    * [NH-2566] - NotSupportedException when using Skip/Take/First/Single/Any on GroupBy
    * [NH-2588] - NotSupportedException when using Skip/Take with Where clause
    * [NH-2860] - Lazy property throwing casting exception
    * [NH-2979] - MsSqlCe dialect doesn't give the correct SQL type for Decimal with Scale defined
    * [NH-3039] - IndexOutOfRangeException thrown when web server is processing multiple sessionfactory creation requests
    * [NH-3057] - Collection subquery constraint on joined-subclass inherited properties causes invalid sql (base classes are not joined in).
    * [NH-3105] - ComponentAsId does not find property that belongs to a parent class
    * [NH-3108] - OrderBy with Select throws exception
    * [NH-3129] - Linq Provider doesn't recognize CompareTo method
    * [NH-3241] - Linq: Mixing Fetch/FetchMany with Any() throws: ArgumentException: Expression of type 'System.Collections.IList' cannot be used for parameter of type 'System.Collections.Generic.IEnumerable`1[System.Object]'
    * [NH-3261] - Linq Query throws when there is a conditional operator
    * [NH-3305] - SybaseSQLAnywhere10Dialect defaults a numeric datatype to (19,255) precision, which is not compatible with the DB
    * [NH-3318] - Composite-id does not allow superclass properties
    * [NH-3320] - Exception in LINQ projection with OrderBy/Take - block using WCF Data Services projection's
    * [NH-3326] - Exception in LINQ with pagination - block using WCF Data Services
    * [NH-3330] - Exception in LINQ for nullable strings in Oracle - blocks using WCF Data Services
    * [NH-3332] - The NH linq driver generates sql code that doesn't match the semantics of the original linq query
    * [NH-3337] - Exception in LINQ for complex nullable conditionals - blocks using WCF Data Services
    * [NH-3357] - System.NotSupportedException : Don't currently support idents of type DateTimeOffset
    * [NH-3366] - LINQ query with various Compare() and CompareTo() fails (WCF Data Services)
    * [NH-3369] - ToFuture/ToFutureValue should fall-back on dialects without MultiQuery support
    * [NH-3378] - MySQLDialect incorrect handle DbType.Currency as MONEY
    * [NH-3379] - Oracle8iDialect and FirebirdDialect incorrect handle DbType.Currency type
 
** Improvement
    * [NH-2297] - Configuration.BuildSessionFactory throws a NullReferenceException when loading an invalid ICompositeUserType
    * [NH-3301] - Support SqlMethods.Like() in LINQ queries.
    * [NH-3360] - Allow setting timeout on a LINQ query
    * [NH-3367] - Support string.Equals()
    * [NH-3368] - Add support for Equals method of sbyte, DateTimeOffset and unsigned numerics
    * [NH-3371] - NHibernate should log LINQ expression trees to ease debugging
 
** New Feature
    * [NH-2986] - Add ability to include collections into projections
    * [NH-3092] - Nhibernate Linq provider does not support Math functions like Math.Cos, Math.Sin, etc
    * [NH-3180] - Could not select first element of the group
    * [NH-3184] - Add ability to use ToFutureValue with aggregating queries
    * [NH-3283] - New driver: Devart.Data.MySql
    * [NH-3333] - Add ability to expand subcollections with WCF Data Services
 
** Patch
    * [NH-3255] - The IDbCommand that performs the cleanup of data in AbstractStatementExecutor.DropTemporaryTableIfNecessary does not have a connection.
 
Build 3.3.2.GA
=============================
 
** Bug
    * [NH-2463] - Exception in LINQ projection with redundant type cast - block using WCF Data Services projection's
    * [NH-2688] - SelectMany with cast throws QuerySyntaxException
    * [NH-2898] - Retrieving object from 2nd cache with lazy property fails
    * [NH-3050] - Contributed patch as solution to Unable to cast object of type 'NHibernate.Impl.ExpandedQueryExpression' to type 'NHibernate.Linq.NhLinqExpression' at NHibernate.Linq.NhQueryProvider.PrepareQuery
    * [NH-3123] - Nuget package should contain the NHibernate logo
    * [NH-3217] - OrderBy with a parameter then Skip and Take produces sql error
    * [NH-3239] - Linq to NHibernate and Dynamic LINQ - query caching not working
    * [NH-3271] - Threading problem in TypeFactory
 
** Improvement
    * [NH-3296] - Tweak build system to allow keeping a constant assembly version between compatible releases
    * [NH-3297] - NHibernate 3.x NuGet package should forbid Iesi.Collections 4.0 or higher
 
** Patch
    * [NH-3293] - SimpleExpression.ToString() returns hashes for strings and dates
 
Build 3.3.1.GA
=============================
 
** Sub-task
    * [NH-3167] - Support for Microsoft Sql Server 2012 sequences
    * [NH-3170] - Add native "iif" function to MsSql2012Dialect
 
** Bug
    * [NH-2789] - LINQ query on byte? simple property fails on MSSQL 2005 (tinyint)
    * [NH-2812] - Performing a Linq query on a non-null byte property throws an InvalidCastException
    * [NH-3121] - Silent truncation of binary data
    * [NH-3124] - invalid cast to int in generated sql with a char property
    * [NH-3125] - Invalid SQL when querying via LINQ with grouping (regression from 3.2)
    * [NH-3126] - InvalidCastException when cascading saves to transient dictionary values
    * [NH-3138] - Distinct Bug on MSSQL with OrderBy/Limit and functions in Projection/Order
    * [NH-3142] - Batch-loading of lazy children failing when key is composite
    * [NH-3145] - HQL query using base class entity with lazy properties throws "No Persister For" error
    * [NH-3147] - Calling Contains on a subquery that contains a join throws an Exception
    * [NH-3153] - Duplicated id generator tables if schema is specified using different methods for different classes.
    * [NH-3162] - Byte.Equals in LINQ Where clauses throws NotSupportedException
    * [NH-3172] - "Duplicate dynamic module name within an assembly"
 
** Improvement
    * [NH-3104] - Typo in Warning Messages
    * [NH-3149] - MsSql2005Dialect should use nowait in LockMode.UPGRADE_NOWAIT
    * [NH-3156] - ShowBuildMenu.bat does not work with spaces in repository folder name
    * [NH-3168] - Add support for bit_length function for MsSql2000Dialect and above
    * [NH-3169] - Add supprot for extract function for MsSql2000Dialect and above
 
Build 3.3.0.GA
=============================
 
** Known BREAKING CHANGES from NH3.2.0.GA to NH3.3.0.GA
 
    ##### Possible Breaking Changes #####
        * [NH-2214] - SQL Server 2005/2008: Exception is now thrown when paging a statement that requires distinct results, and is ordered by a column that is not included in the result set of the query
                    - Dialog.ExtractColumnOrAliasNames method signature and visibility changed - may affect custom dialects that use this method
        * [NH-2950] - IAccessCallback.NextValue property renamed and changed to a method called IAccessCallback.GetNextValue()
        * [NH-2953] - SequenceStyleGenerator now forces use of a table if a pooled optimizer is chosen and the dialect doesn't support pooled sequences.
        * [NH-2960] - Queries for an entity name will now not include instances of the same class mapped using a different entity name.
        * [NH-2664] - IHqlExpressionVisitor has new property ISessionFactory SessionFactory { get; }
        * [NH-3067] - The use of Substring() in Linq queries have been corrected so the zero-based index parameter in C# is converted to one-based index in SQL.
        * [NH-2528] - Throw exception instead of silently truncate string and blob data
        * [NH-3086] - The base dialect now defaults to ANSI syntax for substring. A custom dialect may need to adjust for this.
 
** Bug
    * [NH-2956] - SybaseSQLAnywhere10Dialect doesn't override OffsetStartsAtOne
    * [NH-3111] - Wrong SQL generated when subquery uses objects from parent query
 
** Improvement
    * [NH-3086] - All dialects should support substring() with two arguments
 
Build 3.3.0.CR1
=============================
 
** Bug
    * [NH-1477] - Saving a collection (thats been Cleared) with all-delete-orphan using Oracle with ODP drivers
    * [NH-2214] - Distinct and Row_number problem
    * [NH-2347] - Casts inside aggregate functions are incorrectly applied outside of them
    * [NH-2419] - Linq Provider Problem with group by with an order by clause
    * [NH-2429] - SQL Server Linq Average function on Interger field only returns truncated interger value
    * [NH-2439] - LINQ 'in' query not fully interpreted
    * [NH-2451] - LINQ Issue - joining twice with same table when used in both select and where. Second join is a full select and filtered in where instead of a join .. on
    * [NH-2452] - NH 3.0 Linq provider does not correctly translate standard .Key property when grouping
    * [NH-2492] - Problem with ROW_NUMBER and DISTINCT operator using LINQ
    * [NH-2511] - System.ArgumentException: Object of type 'System.Linq.Expressions.ConstantExpression' cannot be converted to type 'System.Linq.Expressions.LambdaExpression' when passing an expression through a method
    * [NH-2527] - AbstractBatcher reuses disposed IDbCommands which causes an ArgumentOutOfRangeException with OracleDataClientDriver
    * [NH-2560] - NoViableAltException with ordering by projection in GroupBy
    * [NH-2664] - Linq, cannot query dynamic-component
    * [NH-2706] - subselect in LINQ query with Contains clause produces wrong SQL
    * [NH-2722] - Linq Count() does not respect previous calls to Select() or Distinct()
    * [NH-2744] - NewArrayInit Is not Implemented
    * [NH-2763] - queryover fails where referencing enum in VB.NET
    * [NH-2781] - linq's OrderBy by a calculated column doesn't work
    * [NH-2809] - Incorrect specification of VARBINARY(MAX) in MsSql2005Dialect
    * [NH-2828] - Persist uploads not initialized collections on flush
    * [NH-2833] - "where" clause not working after "group by", generates wrong SQL
    * [NH-2846] - Fetch on Count Throws Error
    * [NH-2850] - Unable to use enums in NH 3.2 QueryOver checked comparison
    * [NH-2853] - SetFirstResult and SetMaxResults do not work correctly on Oracle (ODP.NET)
    * [NH-2856] - Retrieval of cached query with Fetch throws exception
    * [NH-2857] - Medium Trust Bug in 3.2
    * [NH-2858] - ToString() on Guid column with SQL Server Dialects
    * [NH-2863] - Criteria API restriction over aggregate function wrapped in NotExpression is wrongly placed in WHERE clause instead of HAVING clause which generates invalid SQL
    * [NH-2869] - Custom extension methods in the select clause are not projected using HQL
    * [NH-2880] - Proxies loose their session reference on session deserialization
    * [NH-2881] - Fix not found key handling on extra lazy one to many maps
    * [NH-2886] - Informix support broken
    * [NH-2889] - QueryOver component with multiple properties results in Sql Error
    * [NH-2891] - Too many parameters removed (Pervasive SQL) - SELECT doesn't work
    * [NH-2893] - NHibernate SQL Parameter on IBM.Data.DB2.iSeries provider
    * [NH-2904] - Wrong query generation with LINQ subquery
    * [NH-2906] - Using the same parameter name for two differently typed where clauses throws an exception
    * [NH-2913] - LINQ query that contains .Any() produces invalid SQL
    * [NH-2917] - Paging error with Skip().Take().
    * [NH-2925] - Improper SQL is generated for Take (pagination) for dialects which have UseMaxForLimit = true (like Oracle)
    * [NH-2927] - Oracle Dialect does not handle the correct resolution for timestamp version columns
    * [NH-2937] - Invalid index 0 for this DB2ParameterCollection with Count=0.
    * [NH-2940] - OracleDialect creates wrong sql using SetFirstResult with criteria queries
    * [NH-2946] - Superfluous join when querying by foreign key given Id with LINQ
    * [NH-2954] - PostgreSQL should SupportsPooledSequences
    * [NH-2959] - Polymorphic queries in MultiQuery, MultiCriteria and Futures cause ArgumentOutOfRangeException
    * [NH-2960] - Query using entity name also returns entities of same type but different entity name
    * [NH-2967] - MySQL Schema Update tool fails with exception
    * [NH-2976] - AbstractPersistentCollection.Remove does not remove item from an uninitialized dictionary
    * [NH-2989] - ComponentAsId does not set Id Property
    * [NH-2998] - Allow to use AsQueryable on child collection
    * [NH-3000] - QuerySyntaxException: Exception of type 'Antlr.Runtime.NoViableAltException' was thrown. when projection contains complex code [regression]
    * [NH-3001] - NHibernate.HibernateException: Query Source could not be identified
    * [NH-3002] - HQL: parser is trying to reuse parent implied join for subquery
    * [NH-3003] - Linq: extra joins
    * [NH-3004] - DriverBase.RemoveUnusedCommandParameters removes all parameters when UseNamedPrefixInSql = true and UseNamedPrefixInParameter = false
    * [NH-3008] - Excess DB parameters created when passing SqlFunctionProjection to LHS of InExpression
    * [NH-3009] - Linq trying to add parameters twice if same predicate is used in query more then once
    * [NH-3016] - Mapping by code does not properly support nested types
    * [NH-3019] - LINQ: Select Key from group by generates wrong SQL
    * [NH-3020] - Firebird and DB2 dialect claims to support sequences, but throws in GetSelectSequenceNextValString(string) (since not overriden)
    * [NH-3026] - Linq order by grouped count before select clause gives wrong sql
    * [NH-3031] - Cannot Sum Property of Type Single
    * [NH-3032] - Group By and Condition Throws Exception
    * [NH-3036] - Wrong SqlType size set for LIKE statement
    * [NH-3044] - Self-joined query with subquery and where - where applied to subquery rather than the external query
    * [NH-3059] - Contains broken when used on a path (Works in previous version)
    * [NH-3063] - Turkish-I problem in ValidateColumn
    * [NH-3064] - Schema validation fails for ODBC
    * [NH-3073] - Equal in Linq-provider is only implemented for string
 
** Improvement
    * [NH-1007] - Add a generator attribute to id
    * [NH-2528] - Throw exception instead of silently truncate string and blob data
    * [NH-2825] - Add property-ref and not-found attributes in mapping by code
    * [NH-2835] - SQL Anywhere dialect/driver improvements
    * [NH-2870] - Simplify Development on NHibernate for Contributors
    * [NH-2875] - Add Foreign Key to one-to-one mapping by code
    * [NH-2883] - DisableLogFormatedSql is not useful
    * [NH-2899] - Support for "in (<subquery>)" in Linq
    * [NH-2950] - Update optimizers for enhanced id generators (ported from Hibernate)
    * [NH-2953] - Update the SequenceStyleGenerator
    * [NH-2962] - Fix PostgreSQL and Firebird timestamp selection and precision
    * [NH-2974] - Add unsaved-value attribute in mapping by code.
    * [NH-2980] - Port enhanced TableGenerator from Hibernate
    * [NH-3024] - Mapping-by-Code does not allow Unique in Component mapping
    * [NH-3040] - SymbolSource support along with NuGet
 
** Patch
    * [NH-2004] - SequenceStyleGenerator + TableStructure opens multiple transactions.
    * [NH-2545] - Comparing strings in VB throws NotSupportedException
    * [NH-2840] - Improper SQL is generated for Take (pagination) for dialects which have UseMaxForLimit = true (like Oracle)
    * [NH-2864] - Fix for nuget package creation.
    * [NH-2905] - Support for multistep joins in Linq
    * [NH-2914] - Functions for DateTime properties in OracleDialect
    * [NH-2924] - CLONE - Improper SQL is generated for Take (pagination) for dialects which have UseMaxForLimit = true (like Oracle)
    * [NH-2936] - Better Sequence Support for Firebird
    * [NH-2964] - WhereRestrictionOn().IsInG() is a icollection not ienumerable like it should be
    * [NH-2982] - SimpleExpression.ToString() can result in unwanted loading of lazy objects
    * [NH-3010] - Fix for batching/command behaviour in OneToManyPersister
    * [NH-3067] - Linq - substring function does not work
 
** Task
    * [NH-2672] - Upgrade Npgsql lib file to next release after 2.0.11.91.
    * [NH-2752] - Re-enable CriteriaQueryTest.AllowToSetLimitOnSubquries for SQLite
 
Build 3.2.0.GA (rev6000)
=============================
 
** Known BREAKING CHANGES from NH3.1.0.GA to NH3.2.0.GA
 
    ##### Design time #####
        * removed obsolete "use_outer_join" property from nhibernate-configuration.xsd (simply remove it from your xml configuration)
 
    ##### Possible Breaking Changes #####
        * All Dialect.GetLimitString() methods replaced with a single GetLimitString method with a new signature.
          For dialects the developers don't perform routine tests on, efforts were made to ensure the new limit string
          method conforms to the database documentation. Please report any limit-related bugs discovered at runtime.
        * [NH-2550] - Allow public access to FieldInterceptor Session (IFieldInterceptor changed)
        * [NH-2593] - For Microsoft SQL Server the default batch-size (adonet.batch_size) is set to 20 where not explicit defined in the session-factory configuration
        * - ICollectionPersister added property to fix [NH-2489]
        * [NH-2605] Refactorize MultiQuery/MultiCriteria implementation to delegate responsibility to IDrive (IDrive changed).
        * For users who don't look at Log-ERROR, to prevent wrong behavior when lazy-properties are used the DynamicProxyValidator validates the accessability of properties setters.
        * For those implementing IDrive without inherit from DriveBase: IDrive.AdjustCommand
        * Dialect base: removed some no more needed properties
 
** Bug
    * [NH-2792] - Using a named parameter multiple times in a native SQL query results in invalid parameter binding (exception in some drivers)
    * [NH-2813] - Cache DefaultExpiration type is "byte"
 
** Improvement
    * [NH-2571] - Full PostgreSQL Support
    * [NH-2743] - Generic version of ISession.Merge()
    * [NH-2800] - Change internal primitive type constructor to protected
 
** Patch
    * [NH-2811] - Wrong logger type into AdoNetTransactionFactory & AdoNetWithDistributedTransactionFactory classes
    * [NH-2814] - Documentation Error: Section 3.5 - Table 3.2 - transaction.factory_class (with patch)
 
Build 3.2.0.CR1 (rev5976)
=============================
** Bug
    * [NH-2118] - GroupBy without Select doesnt work
    * [NH-2387] - Postgres - Unable to run LINQ query using boolean predicate - ERROR: 42883: operator does not exist: boolean = integer
    * [NH-2435] - No order by clause generated with self referencing orderby clause.
    * [NH-2583] - Query with || operator and navigations (many-to-one) creates wrong joins
    * [NH-2773] - ProxyObjectReference creates a new ProxyFactory for each deserialization which disables proxy caching
 
** Improvement
    * [NH-2748] - Support % operator
 
** Patch
    * [NH-2774] - Perf - reusing same regex object in joinwalker objects
 
Build 3.2.0.Beta2 (rev5964)
=============================
** Bug
    * [NH-2206] - Cast is not supported by the new Linq provider
    * [NH-2213] - CLONE -Wrong parameters order in IQuery with SetParameterList and Filter. SQL Server 2005
    * [NH-2296] - Subselect fetching strategy with a "SetMaxResults" query generates *extremely* inefficient sql
    * [NH-2317] - Select after Take does not work properly
    * [NH-2318] - Template functions fail with certain combinations of arguments.
    * [NH-2328] - Linq query on <Any/> fails
    * [NH-2415] - HQL parameters not converted correctly to SQL
    * [NH-2657] - OrderBy After Cast Not Working
    * [NH-2662] - Casting a joined alias in QueryOver loses alias context and looks for property on QueryOver root
    * [NH-2700] - SqlFunctionProjection does not honor parameter order
    * [NH-2701] - Cannot use Linq Skip() in conjunction with FetchMany and ToFuture
    * [NH-2703] - Using a "with" restriction in outer joins result in wrong SQL
    * [NH-2708] - Cast<>() with a where clause fails with a NotSupportedException
    * [NH-2712] - Linq query doesn't support enums in VB.NET
    * [NH-2717] - Count() after Cast<>() causes InvalidOperationException
    * [NH-2729] - Parameter values are not set using OffsetStartsAtOne
    * [NH-2733] - Using an expression in QueryOver gives: Lambda Parameter not in scope
    * [NH-2736] - Inverted parameters in HQL statement using take
    * [NH-2739] - Can't get ByCode mapping to produce not nullable varbinary(max)
    * [NH-2741] - CLONE -HQL .class query on <any> mapping does not work
    * [NH-2746] - Invalid SQL generated for MSSQL when using Filter and paging subquery together [regression from 2.1]
 
** Improvement
    * [NH-941] - One-Many Requiring Nullable Foreign Keys
    * [NH-1050] - Unidirectional One To Many Without Nullable Foreign Key
    * [NH-2070] - Better error message for "object references an unsaved transient instance"
    * [NH-2427] - Support querying HasValue on Nullable types
    * [NH-2683] - Add common dialect functions as extension methods for QueryOver
    * [NH-2702] - Support HQL pagination with parameters
    * [NH-2728] - ManyToAny missing from ICollectionElementRelation<TElement>
    * [NH-2732] - Dialect.GetLimitString simplifications and improvements
    * [NH-2738] - Exception thrown when mapping contains empty enum
    * [NH-2749] - Externalize Remotion.Linq namespace
    * [NH-2753] - one-shot-insert for <list> and <map> for unidirectional one-to-many
    * [NH-2760] - Unable to order by sub-collection's count
    * [NH-2770] - Property spelling of IDbIntegrationConfigurationProperties.LogFormatedSql
 
** New Feature
    * [NH-2616] - Support Trim() function in Linq
 
** Patch
    * [NH-2125] - Solution for NH2123 - Subselect in combination with a disjuction query causes an enormous memory cons
    * [NH-2363] - Patch for ComponentCollectionCriteriaInfoProvider, fixed persister.ElementType cast in constructor.
 
Build 3.2.0.Beta1 (rev5839)
=============================
** Bug
    * [NH-2404] - Future queries crash (MultiQuery) when using projection queries using hql + result transformer or the linq provider (which compiles into hql)
    * [NH-2421] - NotSupportedException text in ToFuture and ToFutureValue does not make sense (or help)
    * [NH-2422] - ToFuture throws NotSupportedException on IQueryable if Fetch is used.
    * [NH-2559] - NH 3.0 Linq Provider : Issue using multiple filters on the same entity
    * [NH-2615] - Linq Fetch cannot traverse through components
    * [NH-2690] - Linq Select() broken with .ToFuture()
    * [NH-2691] - Linq LongCount() behavior different from Count()
    * [NH-2697] - Named parameter not found in HQL with mapping using "entity-name"
    * [NH-2698] - Proxying fails for methods with generic type constraints
 
** Improvement
    * [NH-2568] - Create Custom Persister for Collection Type inherited from OneToManyPersister
    * [NH-2695] - update default driver of firebird dialect to FirebirdClientDriver (FirebirdDriver is obsolete)
 
** New Feature
    * [NH-2699] - Sql Azure dialect
 
Build 3.2.0.Aplha3 (rev5803)
=============================
** Sub-task
    * [NH-1344] - QueryTranslator: Invalid Cast to object array when using IResultTransformer
    * [NH-1642] - one-to-many collection doesn't work if the child is mapped using table per class
 
** Bug
    * [NH-1090] - Query cache does not work when using Criteria API to create a projection query with a result transformer
    * [NH-1747] - Lazy load failure on items using <join> if FK for bag is in the secondary table
    * [NH-2510] - Lazy-loading doesn't work with cache
    * [NH-2569] - IDGeneratorBinding seems broken when mixing schemas
    * [NH-2587] - .Cacheable().Fetch() throws 'Exception occurred getter of xxx'
    * [NH-2661] - NHibernate cannot handle SQL Server TIME columns when built with the .NET 4 framework
    * [NH-2673] - Nhibernate 2nd level cache and Result transformer
    * [NH-2685] - Unnecessary proxy initialisation in CriteriaQueryTranslator
    * [NH-2686] - Embedded ResultsTransformers should implements Equals/GetHashCode
 
** Improvement
    * [NH-2505] - Querries with WHERE containing SQL Server 'bit' datatype produce CASE construction
    * [NH-2551] - Bad code practice. Function SessionFactoryImpl.GetImplementors: if type not found - value from ReflectHelper.ClassForFullName returns through TypeLoadException.
    * [NH-2670] - Stateless Session load no-lazy collection
    * [NH-2684] - More simple way to add NamedQueries by-code
 
** New Feature
    * [NH-2674] - QueryOver doesn't have support for entity-name
 
** Patch
    * [NH-2669] - Patch to prevent "NHibernate.AssertionFailure: possible non-threadsafe access to the session" error caused by stateless sessions
 
Build 3.2.0.Aplha2 (rev5715)
=============================
** Bug
    * [NH-2540] - Linq generates invalid boolean case statements (was: Linq ignoring configured query-substitutions)
    * [NH-2640] - HQL Having clause is ignored without preceeding group by
    * [NH-2641] - HQL does not throw exception on unexpected trailing tokens
    * [NH-2642] - BatcherDataReaderWrapper.GetValue has a typo
    * [NH-2643] - MSSQL configuration template is still using "use_outer_join"
    * [NH-2652] - SchemaMetadataUpdater does not take Dialect default properties
 
** Improvement
    * [NH-2644] - schemaaction is not supported in joinedsubclass
 
** New Feature
    * [NH-2533] - Support paging in HQL
 
** Task
    * [NH-2653] - Remove just added ExpressionTreeVisitor class
 
Build 3.2.0.Aplha1 (rev5664)
=============================
** Bug
    * [NH-1925] - Wrong SQL aliases generated for HQL subselect
    * [NH-2480] - AssertByIds test function with unordered Ids
    * [NH-2488] - Subclass join does not exclude lazy properties
    * [NH-2489] - AbstractPersistentCollection.ReadElementByIndex gives wrong result for missing element with lazy="extra"
    * [NH-2490] - Mapping.Join.IsLazy always returns true
    * [NH-2491] - ObjectNotFoundException in HQL query when referencing joined subclass
    * [NH-2498] - Lazy="no-proxy" does eager load
    * [NH-2554] - NHibernate Formula doesnt recognize varbinary as a keyword on Sql Server 2008 or 2008 R2
    * [NH-2565] - session.Persist does not work with entities with lazy properties (no-proxy)
    * [NH-2584] - An entity with a lazy property cannot be saved in new session
    * [NH-2603] - lazy="extra" return different count than initialized collection.
    * [NH-2604] - Problem with MSTest and Relinq (possibly due to ILMerge)
    * [NH-2607] - Proxifier should not try to proxy sealed and non public methods
    * [NH-2610] - ISQLExceptionConverter doesn't work with MultiCriteria and MultiQuery
    * [NH-2622] - Proxying fails for methods with out and ref arguments
    * [NH-2626] - LinqExtensionMethods.Query<T> implements wrong NhQueryable<T>
    * [NH-2627] - Cloning subcriteria loses WithClause
    * [NH-2628] - Fails to create proxy for class with method that has argument "ref of Dictionary<string, string>"
    * [NH-2632] - Lazy Properties Causing An Exception If Containing Class Is Set To Not Lazy
    * [NH-2633] - MapperByCode don't Register Component
 
** Improvement
    * [NH-1513] - MultiCriteria, MultiQuery improvements
    * [NH-2382] - HQL, Criteria, QueryOver need Set methods for all NHibernate types
    * [NH-2418] - Dialect.IsQuoted fails on empty name
    * [NH-2495] - Support ISqlQuery in MultiQuery
    * [NH-2518] - disable/truncate SQL parameter logging of BLOBs
    * [NH-2526] - Sybase ASE 15 support
    * [NH-2530] - Include WHERE clause in error message if we aren't able to locate a 'High' value
    * [NH-2531] - NHibernate.Impl.CriteriaImpl.cs: Fix for possible ArgumentNullException in sub-criteria alias handling
    * [NH-2550] - Allow public access to FieldInterceptor Session
    * [NH-2563] - Support calls to ToString() in Linq queries
    * [NH-2570] - Full SQLite Support
    * [NH-2573] - Ability to retrieve longest registered type for a specified DbType
    * [NH-2580] - "Unable to locate persister" exception message should be more helpful
    * [NH-2586] - Default ProxyFactory
    * [NH-2592] - Add ICriteria functionality missing in QueryOver
    * [NH-2593] - Default common values per dialect
    * [NH-2601] - Remove Dialect.HasAlterTable
    * [NH-2605] - Refactorize MultiQuery/MultiCriteria implementation to delegate responsibility to IDrive
    * [NH-2612] - Move the lambda con to the same namespace than Configuration
    * [NH-2630] - Truncate SQL parameter logging of very long strings
 
** New Feature
    * [NH-2015] - Implement Hibernate's Order.IgnoreCase()
    * [NH-2426] - postgresql schema metadata
    * [NH-2591] - Insert ordering
    * [NH-2602] - Mapping <subselct> node in collection, subclass, join and so on
    * [NH-2635] - Mapping by code
 
** Patch
    * [NH-2548] - HQL Select Clause Parameters
    * [NH-2590] - Missed registration of Concat function for SQLCE4
    * [NH-2600] - Increase visibility of components in AbstractPersistentCollection
 
** Task
    * [NH-2561] - Consider current_timestamp semantics
    * [NH-2575] - Update documentation for immutable classes
    * [NH-2608] - Integrate Remotion 1.13.100 to fix duplicate mscorlib problem
    * [NH-2636] - Expose ExpressionTreeVisitor Members
 
Build 3.1.0.GA (rev5425)
=============================
 
** Known BREAKING CHANGES from NH3.0.0.GA to NH3.1.0.GA
 
    ##### Design time #####
        * [NH-2481] - Deprecated: ISession.SaveOrUpdateCopy methods - use ISession.Merge methods instead
 
    ##### Run time #####
        * [NH-2481] - An exception will now be thrown when an entity references a transient entity and cascade="merge|all" is not configured on the association
 
    ##### Possible Breaking Changes #####
        * [NH-2461] - Signature change for IQuery.SetParameterList
        * [NH-2556] - NH is too tolerante to incorrect naming when access="field.XXX" is used
 
** Sub-task
    * [NH-2525] - Wrong parameter used for limit claues in MySQL
 
** Bug
    * [NH-1985] - NHibernate is allowing deletion of immutable objects
    * [NH-2037] - Reattaching an entity with many-to-one inside a natural-id
    * [NH-2130] - Reporting query containing sum crashes when there are no rows
    * [NH-2179] - String constants are not useable in Linq query projection
    * [NH-2203] - problem with orderby in linq query
    * [NH-2280] - LINQ Query on Composite key creates invalid SQL
    * [NH-2311] - .Any() extension method does not work in most cases
    * [NH-2362] - GroupBy with multiple fields fails with exception
    * [NH-2375] - OfType with a where clause fails with a NotSupportedException
    * [NH-2381] - Fetch clause fails with a NotSupportedException
    * [NH-2386] - Unecessary update / invalid SQL generated when collection updated with a versioned (generated) parent entity
    * [NH-2400] - Linq query fail when using contains from an empty Collection
    * [NH-2407] - Linq provider doesn't support enums in VB.NET
    * [NH-2412] - OrderBy generates an inner join instead a left join
    * [NH-2433] - When using extensions methods with generic parameters the provider uses the first use even if the generic parameter is different.
    * [NH-2441] - Logical bool values are not mapped properly (query execution returns incorrect result with SQLite)
    * [NH-2443] - Error compiling NH with ShowBuildMenu.bat -> Cannot run Tests
    * [NH-2450] - Multi Query in MySQL no longer working in 3.0 (was in 2.1)
    * [NH-2459] - LINQ provider query plan cache issue with use of type check expression .Where(o=>o is SomeType)
    * [NH-2460] - version generator is not working with DateTime2 data type.
    * [NH-2464] - NHibernate DLLs not built with optimization in 'release' mode.
    * [NH-2467] - Futures in 3.0.0.GA go bananas when using PostgreSQL
    * [NH-2470] - PersistentIdentifierBag not creating snapshot correctly for new collections.
    * [NH-2482] - SerializationException when writing object to viewstate
    * [NH-2484] - Regression - Binary Blob SerializationException - MSSQL 2k8 / varbinary(max)
    * [NH-2499] - Case statement does not handle multiple when clauses
    * [NH-2501] - Case statement does not allow a parameter in the first then clause
    * [NH-2503] - HQL subselect with addition fails
    * [NH-2507] - LINQ queries tha compare enumeration values with /checked+ compiler option throw NotSupportedException
    * [NH-2512] - QueryOver with Where clause and Take crashes
    * [NH-2524] - Linq converts enums to integers prematurely
    * [NH-2529] - Linq on Informix using take gives an exception
    * [NH-2536] - Second call to OfType don't change the query
    * [NH-2543] - IQueryOver support is not implemented for IStatelessSession
    * [NH-2549] - Disposing an Stateless Session that has already been closed causes a SessionException
    * [NH-2555] - Linq with Contains doesn't work with read only collections
    * [NH-2556] - NH is too tolerante to incorrect naming when access="field.XXX" is used
 
** Improvement
    * [NH-1342] - Very slow inserts for large BLOB
    * [NH-2023] - Batch operations - introduce SetBatchSize for IStatelessSession
    * [NH-2098] - Support for transaction isolation levels in stateless sessions.
    * [NH-2211] - Stateless Session Linq Support
    * [NH-2228] - Cascading StaleStateException doesn't show which Entity caused the problem
    * [NH-2425] - Cache the XmlSerializer for HbmMapping class
    * [NH-2449] - Add IStatelessSession.BeginTransaction(IsolationLevel) Method
    * [NH-2454] - Add auto-quote settings to main documentation
    * [NH-2455] - Centralization of proxy check to IProxyFactoryFactory (better support for static proxy)
    * [NH-2457] - Ability to use DetachedCriteria from stateless session
    * [NH-2461] - Allow parameter list as ienumerable and simplify IQuery
    * [NH-2471] - ShowBuildMenu.bat and Windows XP
    * [NH-2481] - Merge can fail when there is a transient entity reachable by multiple paths and at least one path does not cascade on merge
    * [NH-2502] - Fetch/Cacheable Should be Allowed to be Called Anywhere
    * [NH-2508] - Deprecate the ISession.SaveAndUpdateCopy API
    * [NH-2522] - ILMerge Antlr and ReLinq
    * [NH-2537] - Implement camelcase-m-underscore naming strategy
    * [NH-2557] - Improves log message, of CustomType not serializable, by adding additional data
 
** New Feature
    * [NH-908] - Implement read-only entities
    * [NH-2410] - Port <properties> from Hibernate
 
** Patch
    * [NH-2153] - Unused parameter in SetCommandTimeout method in DriverBase
    * [NH-2172] - Unrecognised method call in expression when using QueryOver queries in VB.Net
    * [NH-2445] - Add IStatelessSession.IsOpen and IStatelessSession.IsConnected
    * [NH-2473] - EntityName + inheritance doesn't work
    * [NH-2474] - Xsd for <properties> on subclass missing
    * [NH-2478] - Docs for <properties>
    * [NH-2513] - SetMaxResults issue with DB2400Dialect
 
** Task
    * [NH-2506] - Fix first example of ternary association in documentation
    * [NH-2541] - Upgrade ReLinq to 1.13.93
 
Build 3.0.0.GA (rev5290)
=============================
** Known BREAKING CHANGES from NH2.1.1.GA to NH3.0.0.GA
 
    ##### Design time #####
        * [NH-2392] - ICompositeUserType.NullSafeSet method signature changed
 
    ##### Run time #####
        * [NH-2199] - null values in maps/dictionaries are no longer silenty ignored/deleted
        * [NH-1894] - SybaseAnywhereDialect has been removed, and replaced with SybaseASA9Dialect.
                - Sybase Adaptive Server Enterprise (ASE) dialects removed.
 
    ##### Possible Breaking Changes #####
        * [NH-2251] - Signature change for GetLimitString in Dialect
        * [NH-2284] - Obsolete members removed
        * Related to [NH-2358]: DateTimeOffset type now works as a DateTimeOffset instead a "surrogate" of DateTime
 
** Bug
    * [NH-2222] - Wrong type for constant/parameter value used
    * [NH-2234] - Query on Property mapped with IUserType
    * [NH-2244] - Linq provider does not has full supporting of components in queries.
    * [NH-2370] - NHibernate.Linq simple where clause results in a table scan.
    * [NH-2394] - Comparing an enum (stored as a string with a user type) to an enum literal fails
    * [NH-2398] - Null equality uses non-boolean expression
    * [NH-2402] - LINQ equality should map to SQL equality
    * [NH-2403] - Linq boolean constants are of wrong type (integer)
    * [NH-2409] - Using WithClause in Criteria API causes NH to mix up query parameters
    * [NH-2416] - NHibernate.Linq does not support queries against <map> elements
    * [NH-2417] - NHibernate fails to correctly load a child collection if the parent contains a many-to-one
    * [NH-2420] - Cannot use distributed transactions while providing connection to the session
    * [NH-2438] - LINQ 'in' query not fully interpreted
 
** Improvement
    * [NH-2423] - NHibernate.Linq queries against Dictionaries with ContainsKey
 
 
** Patch
    * [NH-2413] - Micro optimization in DefaultFlushEntityEventListener
    * [NH-2437] - Typo
 
Build 3.0.0.CR1 (rev5265)
=============================
 
** Bug
    * [NH-1897] - boolean discriminator formulas broken on PostgreSQL
    * [NH-2154] - Booleans may not be used in expression HQL in PostgreSQLDialect
 
** Patch
    * [NH-2392] - ICompositeUserType support for cases where not all parameters should be set (such as dynamic-update)
        
Build 3.0.0.Beta2 (rev5254)
=============================
 
** Bug
    * [NH-1155] - SubselectFetch doesn't take into account paging
    * [NH-2371] - Exception is thrown when using SetMaxResults on query using MySQL
    * [NH-2374] - ForeignGenerator does not support EntityMode.Map
 
** Improvement
    * [NH-1799] - Change SQL Server dialect to support variable limits
    * [NH-2376] - Allow IDisposable for event-listeners
 
** Patch
    * [NH-2342] - Added XDocument type
    * [NH-2378] - Don't currently support idents of type Int16
    * [NH-2391] - Updated Chapter 4
 
Build 3.0.0.Beta1 (rev5241)
=============================
 
** Bug
    * [NH-2001] - Filter by Null in Linq (hql ast version) doesn't work
    * [NH-2077] - SQL Server Dialect: Nhibernate fails to execute native queries with parameters, separated with ';'
    * [NH-2084] - Future + hql queries + same parameter name leads to "NHibernate.QueryException: The named parameter personId was used in more than one query. Either give unique names to your parameters, or use the multi query SetParameter() methods"
    * [NH-2331] - ICriteria: Correlated query throws "Could not find a matching criteria info provider to", works in 2.1.0 broken in 2.1.2
    * [NH-2352] - Null reference exception in GetDefaultConfigurationFilePath when AppDomain.CurrentDomain.RelativeSearchPath is null
    * [NH-2358] - DateTimeOffsetType doesnt properly convert to-from database; milliseconds are lost.
    * [NH-2364] - Dynamic entities with "full name" result in incorrect queries
 
** Improvement
    * [NH-1108] - Reference Data - Ability to load all rows from a table using an HBM file.
    * [NH-2313] - Better logging when SessionFactory is being built
    * [NH-2355] - Allow composite-id without class on dynamic entity
 
** New Feature
    * [NH-2309] - Add support for Future() with the new Linq provider
    * [NH-2367] - Native support for System.Uri as string
 
** Patch
    * [NH-2073] - Missing QuerySequencesString override in FirebirdDialect
    * [NH-2082] - AdoTransaction sometimes writes to log wrong information about IsolationLevel
    * [NH-2357] - Support for custom boolean functions in the linq provider (as FREETEXT).
 
 
Build 3.0.0.Alpha3 (rev5226)
=============================
 
** Bug
    * [NH-1927] - Criteria generates wrong sql when eager fetching one-to-many with filter
    * [NH-1928] - SQL line comments swallow next line
    * [NH-2024] - Max results parameter could not provided to subquery
    * [NH-2061] - Merge operation causes null exception for null components that contain many-to-many relations
    * [NH-2096] - IndexOutOfRangeException reading zero-length binary value from MySQL
    * [NH-2112] - Update executed on the DB during a Session.Merge of an unmodified entity
    * [NH-2138] - Entity name support in custom SQL is broken: sql-query/return/@entity-name attribute is ignored
    * [NH-2147] - default_batch_fetch_size has no effect
    * [NH-2188] - Exception occurs when configuration searches default config file and multiple search path were defined for current AppDomain.
    * [NH-2202] - Unable to use ICriteria with projection property that references a composite key relationship
    * [NH-2258] - Paging params in subquery breaks query execution.
    * [NH-2265] - Any linq query using oracle fails when restricting the number of results returned
    * [NH-2270] - NHibernatethrows MappingException on Linux/Mono 2.7
    * [NH-2279] - PersistentIdentifierBag fails to maintain ID map in many cases
    * [NH-2288] - The drop scripts from SchemaExport in SQL2005 dialect will not work for constraints when using DefaultSchema setting other than dbo
    * [NH-2289] - Linq query fail when using contains from ICollection<T> or IList<T>
    * [NH-2302] - MsSql Dialect, mapping an nvarchar(max) using string(10000) causes string truncation
    * [NH-2303] - Regression bug: hibernate-mapping/subclass element can no longer extend hibernate-mapping/class//subclass element
    * [NH-2322] - Performing updates in OnPostUpdate event causes enumeration error
    * [NH-2339] - After rev 5139 (apply NH-2335) NHibernate does not work under Medium Trust
    * [NH-2343] - NHibernate.Type.GenericBagType<T>.Wrap() incorrectly assumes collection implements IList<T>
    * [NH-2344] - Coalesce expression does not work on linq provider
 
** Improvement
    * [NH-626] - Adding XmlDoc to NH types
    * [NH-1618] - Lazy loading for one-to-one association
    * [NH-1894] - New SQL Anywhere NHibernate dialect
    * [NH-2135] - Compatible with Mono
    * [NH-2292] - Set Initialize in AbstractLazyInitializer as virtual
    * [NH-2301] - Castle Bytecode with last released 2.5
    * [NH-2321] - Recommended method for xml intellisense
    * [NH-2340] - Workaround, for some DataProviders, in AbstractCharType for char?
 
** New Feature
    * [NH-866] - SQL Server 2005 XML Support
    * [NH-2348] - Support polymorphism with Get and Load
 
** Patch
    * [NH-2006] - Additional test to use-many-to-one
    * [NH-2111] - PersistentIdentifierBag has null reference exception when accessing SyncRoot on lazy loaded collection
    * [NH-2278] - PersistentGenericIdentifierBag instantiates wrong list type
    * [NH-2284] - Obsolete members can be removed
    * [NH-2293] - When query has only a "from" throw QuerySyntaxException instead of InvalidCastException
    * [NH-2307] - Fix ByteCode Framework Targets
    * [NH-2332] - Update SybaseAnywhereMetaData.cs to support fetching the reserved words
    * [NH-2335] - ReflectiveHttpContext support for different .NET versions
    * [NH-2336] - Leading and trailing ansi trim emulation functions are reversed
    * [NH-2346] - Dialect.TableTypeString is not used when creating schema.
 
** Task
    * [NH-2161] - Breaking change in naming strategy from 2.0 to 2.1
    * [NH-2315] - Spring version does not match antlr version
    * [NH-2338] - Upgrade to Castle.Core 2.5.1
 
Build 3.0.0.Alpha2 (rev5159)
=============================
 
** Bug
    * [NH-1653] - SubqueryExpression don't support Dialect with VariableLimit
    * [NH-1836] - AliasToBean transformer doesn't work correctly with MultiQuery
    * [NH-2133] - Incorrect number of command parameters
    * [NH-2148] - Not possible to call methods on Proxy for lazy-property
    * [NH-2149] - CAST() statements fail in MySql due to invalid type parameters
    * [NH-2158] - NVL Sql Function is broken
    * [NH-2160] - MSSql DateTime2 type is not supported when preparing
    * [NH-2162] - Formulas containing a DateTime data type incorrectly have that data type aliased with the outer entity alias
    * [NH-2224] - SQLite 'In'-Restriction with year function
    * [NH-2245] - AbstractEntityPersister ignores optimistic-lock when generating delete SQL on versioned objects
    * [NH-2251] - System.FormatException mixing Future and Skip/Take
    * [NH-2253] - SchemaExport/SchemaUpdate should take in account hbm2ddl.keywords
    * [NH-2257] - Parameter ordering not working when driver does not support Named Parameters
    * [NH-2261] - Linq Count function fails with MySQL Dialect
    * [NH-2273] - SqlClientBatchingBatcher doesn't set timeout on batches after the first
    * [NH-2277] - NHibernate.Linq - Eager Fetching Superclass Collection Throws NullReferenceException.
 
** Improvement
    * [NH-1378] - New Drivers using ADO.NET's DbProviderFactories
    * [NH-1421] - Better exception message for Invalid handling of empty parameter lists
    * [NH-2103] - Expose hbm mappings
    * [NH-2117] - many-to-one mapping with composite-id formula fails
    * [NH-2191] - Make a method FilterFragment of class AbstractEntityPersister a virtual
    * [NH-2217] - LinFu version 1.0.3 used is not thread-safe. (new LinFu1.0.4 available)
    * [NH-2220] - Support temporary tables within SQLite Dialect
    * [NH-2226] - Set custom bytecode provider type in app.config
    * [NH-2263] - Client Profile Support
    * [NH-2266] - better exception if no concrete subclasses exist
    * [NH-2267] - Prepared statements should be enabled for PostgreSQL
    * [NH-2268] - Substring and Replace functions for PostgreSQLDialect
    * [NH-2287] - Wrong HQL should throws QuerySyntaxException
 
** New Feature
    * [NH-1135] - Local & Utc DateTime Type
    * [NH-1554] - Logging Abstraction
    * [NH-1946] - Criteria API support for HQL 'with' clause
    * [NH-2256] - Add support for user-provided extensions to the Linq provider
    * [NH-2259] - Add a way to reset the Any cached type
 
** Patch
    * [NH-2026] - Fix: SchemaExport fails with foreign key constraints on Informix
    * [NH-2120] - CsharpSqlite managed/embedded SQL database driver
    * [NH-2142] - Register function Concat fo MySql to avoid null problem
    * [NH-2190] - Criteria Join Restrictions Support (HHH-2308 Port)
    * [NH-2252] - Added paging support for SQL CE 4
    * [NH-2255] - MsSql2005Dialect resets parameters' positions(for paging parameters) when lock in use.
 
Build 3.0.0.Alpha1 (rev5056)
=============================
 
** Sub-task
    * [NH-2045] - NH 2044 Fixed
 
** Bug
    * [NH-892] - <many-to-one> associated by property-ref generates wrong SQL
    * [NH-1849] - Using custom sql function "contains" causes an Antlr exception
    * [NH-1891] - Formula - Escape characters break formula
    * [NH-1899] - SaveOrUpdateCopy throws InvalidCastException
    * [NH-1902] - QBE don't set the '%' wildcards when using an other matchmode than Matchmode.Exact
    * [NH-1975] - QueryOver() on char Property yields exception
    * [NH-1981] - Multiple SQL parameters generated for same HQL parameter
    * [NH-1989] - Future query does not use second level cache
    * [NH-2009] - Many-to-one fails when using property-ref against a joined property
    * [NH-2020] - ISQLExceptionConverter does not get called if batch size enabled
    * [NH-2027] - NH sql-query does not support calling Stored Procedures in Packages
    * [NH-2030] - NHibernate.SqlTypes.SqlTypeFactory is not threadsafe
    * [NH-2035] - Wrong error "ORDER BY items must appear in the select list if SELECT DISTINCT is specified."
    * [NH-2044] - NHibernate.Criterion.Expression.Eq with chartype has a bug
    * [NH-2047] - OracleDataClientBatchingBatcher writes misleading log messages in a different format than SqlClientBatchingBatcher
    * [NH-2052] - CLONE -Getting identifier on a proxied class initializes it when identifier is defined in parent class
    * [NH-2064] - Filter definitions should not be mandatory to be used
    * [NH-2069] - When touching the identifier of a proxy object a call to the database is executed.
    * [NH-2074] - SQL Server Dialect: unicode literals in formula results in incorrect SQL
    * [NH-2086] - MsSqlCeDialect fails when mapping contains schemas
    * [NH-2090] - ShemaValidator + Firebird
    * [NH-2092] - Constrained lazy loaded one to one relations using Castle DynamicProxy throws ArgumentNullException
    * [NH-2093] - When using Castle:s FieldInterceptionProxy, NHibernateProxyHelper.GuessClass() cannot guess the correct entity type.
    * [NH-2094] - When using Castle:s FieldInterceptorProxy, accessing an initialized property (even nonlazy) throws LazyInitializationException
    * [NH-2102] - Entity with constrained, lazy one-to-one relation should not generate field intercepting proxy
    * [NH-2113] - NH force eager loading of key-many-to-one entity with overriden GetHashCode
    * [NH-2122] - Nhibernate documentation refers to CriteriaUtil whitch is removed from 2.1
    * [NH-2129] - FutureValue Parameters Missing Quotes
    * [NH-2137] - list-index with one-to-many does not work
    * [NH-2155] - NHibernate project files contain reference to missing AssemblyInfo.cs file
    * [NH-2166] - Custom ISQLExceptionConverter is not called in the case when using query.UniqueResult<T>()
    * [NH-2168] - Statistics.QueryExecutionMaxTimeQueryString is empty
    * [NH-2173] - SetMaxResults fails when Dialect has BindLimitParametersFirst == true
    * [NH-2175] - Cannot Cache NHibernate Future Criteria Results
    * [NH-2189] - Fetch Join Not Consistently Working With Future
    * [NH-2192] - Thread safety issue with QueryParameters.PrepareParameterTypes
    * [NH-2199] - Map with element doesn't support nullable types
    * [NH-2205] - NHibernate.Loader.Loader.DoQuery can hide exceptions
    * [NH-2210] - Problem with merging detached entities with components
    * [NH-2219] - HQL Update of multiple columns only updates the first column
    * [NH-2221] - The tuplizer value specified for a component within a HBM file is ignored
    * [NH-2225] - New Embedded LINQ Provider & Bitwise Queries
    * [NH-2235] - IQueryOver.SelectList uses sub-type type instead of root type
    * [NH-2242] - Formula - Escape characters break formula
 
** Improvement
    * [NH-1248] - Check if result of Subquery is null with Criteria API
    * [NH-1838] - Guid support in MySql dialect
    * [NH-1850] - NHibernate should log query duration
    * [NH-1862] - Strongly typed configuration of SessionFactory properties
    * [NH-1877] - Support for Projections.GroupBy(IProjection projection)
    * [NH-1892] - Programatic configuration of Cache
    * [NH-1935] - Add new WcfSessionContext to the already available ICurrentSessionContext implementations
    * [NH-2021] - Exceptions serialization
    * [NH-2055] - hbm2ddl SchemaExport support batching (GO in ddl)
    * [NH-2065] - provide better exception details
    * [NH-2083] - Undocumented attributes on hibernate-mapping element
    * [NH-2150] - CreateCriteria / QueryOver inconsistency
    * [NH-2186] - Allow MultiCriteria to directly add IQueryOver
    * [NH-2215] - MsSql2005Dialect does not use parameters for paging parameters
    * [NH-2216] - EnumType<T> as IType
    * [NH-2230] - <parent> tag does not allow any accessor
    * [NH-2249] - DateType as IParameterizedType to customize the BaseDateValue for null
 
** New Feature
    * [NH-429] - Lazy load columns
    * [NH-1922] - Allow DetachedCriteria To Work with IStatelessSession
    * [NH-1978] - Add ability to delimit aliases in generated SQL
    * [NH-2152] - QueryOver equality to null should generate (x is null or x == value)
 
** Patch
    * [NH-2031] - Mod function in SqlDialect is broken
    * [NH-2041] - SchemaExport does not export Components in Joined tables properly
    * [NH-2046] - Release builds do not include PDB files
    * [NH-2101] - Missing IsNotIn for WhereRestrictionOn
    * [NH-2106] - DetachedCriteria.SetLockMode() is missing
    * [NH-2131] - SessionIdLoggingContext perf patch
    * [NH-2169] - ToUpper and ToLower functions are inverted in the new Linq provider
    * [NH-2194] - NHibernate.Util.PropertiesHelper class throwing FormatException when property values are in-compatible with the expected type
    * [NH-2201] - NDataReader doesn't reset the currentrow index when a move to NextResult is executed
    * [NH-2227] - Missing [Serializable] attribute on ReadOnlyAccessor
    * [NH-2236] - GetSequenceNextValString for Informix is wrong
    * [NH-2243] - 'foreign-key' ignored in join/key
 
** Task
    * [NH-2013] - HQL breaking change
    * [NH-2247] - Update FlushMode Documentation
 
Build 2.1.2.GA (rev4854)
=============================
** Bug
    * [NH-2011] - Many-to-many inside a component will not be saved when using SaveOrUpdateCopy or Merge
    * [NH-2283] - CLONE -one-to-many collection with table per subclass, using discriminator: wrong proxies in collection
 
** Improvement
    * [NH-2022] - Allow overriding in Query By Example
 
** Patch
    * [NH-2007] - SesssionIdLoggingContext patch for big resultsets
    * [NH-2019] - Clarification about the use of <import> for polymorphic queries
 
Build 2.1.1.GA (rev4814)
=============================
 
** Sub-task
    * [NH-1368] - Check same behavior for other persistent collection.
 
** Bug
    * [NH-1255] - key-many-to-one && not-found
    * [NH-1476] - filtering by key-many-to-one causes invalid sql
    * [NH-1760] - Missing table join when use a criteria on key-many-to-one part of a Composite Id
    * [NH-1785] - Invalid SQL generated for join on composite id using Criteria API
    * [NH-1858] - Problem with MsSql2000 and 2005 Dialects GetLimitString when using use_sql_comments=true
    * [NH-1895] - delete-orphan mapping, NullReferenceException in DefaultDeleteEventListener.DeleteTransientEntity
    * [NH-1898] - HQL query parser can't determine parameter type when using native sql function in hql query.
    * [NH-1899] - SaveOrUpdateCopy throws InvalidCastException
    * [NH-1902] - QBE don't set the '%' wildcards when using an other matchmode than Matchmode.Exact
    * [NH-1904] - Protected properties and public properties cannot have the same name with different case
    * [NH-1905] - Join used together with subquery generates wrong SQL
    * [NH-1907] - IQuery.SetParameter<T> should use DetermineType
    * [NH-1908] - Mishandling of filter parameters causes System.InvalidCastException
    * [NH-1911] - Aggregate parameters in projection are not substituted
    * [NH-1913] - AdoNet batcher not using CommandTimeout
    * [NH-1914] - Collections with out native ID generation is not working
    * [NH-1915] - CLONE -HQL AST-Parser: Null-Pointer Exception on Non-Exsistant Entity on Joins
    * [NH-1917] - Not retrieving AUTO_INCREMENT identifier on MySQL because of connection closing
    * [NH-1920] - Session Filters + collection + parametrized query = bug
    * [NH-1926] - Oracle: Schema update crashes
    * [NH-1931] - NativeSQLQuerySpecification.Equals compares collections by reference
    * [NH-1938] - No 'lower' call in sql-query in LikeExpression with 'ignorecae' = true
    * [NH-1939] - Missing <param> element in NHibernate mapping schema.
    * [NH-1941] - Custom Enum-String mapping is not written to SQL statement
    * [NH-1948] - Hibernate mapping file does not allow a value of 0 for the "scale" attribute of the "property" element
    * [NH-1959] - Adding/Removing items to idbag in one transaction causes KeyNotFoundException
    * [NH-1963] - System.InvalidCastException on cacheable query with byte array query parameter
    * [NH-1964] - Byte array truncation to a length of 8000
    * [NH-1969] - Criteria API does not handle property of type "System.Type" correctly
    * [NH-1973] - DateTime sent to dataase is not accurate to millisecond
    * [NH-1979] - cast and parameter combination in HQL fails to parse
    * [NH-1983] - Blobs and Clobs with Sql Server CE
    * [NH-1985] - NHibernate is allowing deletion of immutable objects
    * [NH-1987] - MultiQuery does not update statistics
    * [NH-1990] - Subquery filter parameters are not set as variables in SQL
    * [NH-1992] - BasicFormatter throws exceptions for certain types of data
    * [NH-1997] - Original exception information lost when error occurs NHibernate.Engine.TransactionHelper.Work.DoWork
    * [NH-2000] - Problem when calling ISession.GetEnableFIilter with a not enabled filter name
    * [NH-2003] - IsNullable property is not set properly in ClassIdBinder.cs
 
** Improvement
    * [NH-847] - Oracle stored procedure with Ref Cursor out
    * [NH-1525] - IResultTransformer should override Equals and GetHashCode
    * [NH-1912] - Add decimal types to MySQL dialect.
    * [NH-1943] - Fix introduction in docs so it won't mention VS 2003
    * [NH-1980] - Ignore exception when trying to set the same type of CollectionTypeFactory
 
** New Feature
    * [NH-1922] - Allow DetachedCriteria To Work with IStatelessSession
    * [NH-1936] - Introduce new Interface IPostEvent in NHibernate.Event
    * [NH-1998] - Possibility to turn off many-to-one filters
 
** Patch
    * [NH-1903] - GetEnumerator().Current inconsistent for generic
    * [NH-1970] - SQLite dialect - Fix to substring function
    * [NH-1993] - Patch for a bug in MySQLMetaData.cs
 
Build 2.1.0
========================
** Known BREAKING CHANGES from NH2.0.xGA to NH2.1.0
    ##### Run time #####
        * If you want work using lazy loading with LinFu.DynamicProxy now you must deploy NHibernate.ByteCode.LinFu.dll
        * If you want work using lazy loading with Castle.DynamicProxy2 now you must deploy NHibernate.ByteCode.Castle.dll
        * If you want work using lazy loading with Spring.Aop now you must deploy NHibernate.ByteCode.Spring.dll
        * compatible only with .NET2.0 SP1 or above (System.DateTimeOffset)
        * In SchemaExport.Execute the parameter "format" was removed; (NH-1701) enabled configuration property format_sql (default true)
        * Antlr3.Runtime.dll is required
        * the syntax foo.bar.baz.elements or foo.bar.baz.indices is not longer supported. Use the alternative syntax of elements(foo.bar.baz) or indices(foo.bar.baz) instead
            Note: in some case, where a sub-select is needed, the collection is enough example: FROM m IN CLASS Master WHERE NOT EXISTS( FROM m.Details d WHERE NOT d.I=5 )
        * INamingStrategy.PropertyToColumnName does not include the component property path
 
    ##### Possible Breaking Changes #####
        * ISession interface has additional methods
        * ICriteria.SetProjection now takes a params array of projections, instead of a single projection
            Only a breaking change if you are implementing ICriteria, there is full source code compatability
        * IStatelessSession interface has additional methods
        * DefaultProxyFactoryFactory removed
        * IProxyFactoryFactory now provide the IProxyValidator implementation
        * Now filters are working even with many-to-one association for Criteria and HQL (NH-1293, NH-1179)
 
    ##### Initialization time #####
        * The ProxyValidator check for "internal virtual" (to be intercepted by proxy need "protected internal virtual")
        * The session-factory configuration property "proxyfactory.factory_class" is mandatory; You must choose one of the availables NHibernate.ByteCode
 
    ##### Breaking Changes #####
        * see NH-1633 if you are using SQL native queries
        * CriteriaUtil is gone. NHibernate.Transform.Transformers now returns predefined IResultTransformer.
        * ISessionFactory.Settings is gone (moved to ISessionFactoryImplementor.Settings)
        * Obsolete ORACLE dialects was removed (new implementations are available)
        * ISQLExceptionConverter was changed in order to have more flexibility about information available for the conversion and followed management.
        * ADOException now use string instead SqlString
        * IParameterizedType is using IDictionary<string, string>
 
Build 2.1.0.Beta2 (rev4501)
=============================
** Sub-task
    * [NH-1827] - SchemaUpdate exception
    * [NH-1843] - Precision and scale for MySQL is not working, too
 
** Bug
    * [NH-1734] - NHibernate aggregate function sum() to return Int64 instead of floating point value
    * [NH-1810] - Use of custom sorted set leads to "collection not processed by flush" exception
    * [NH-1812] - Aggregates + IsNull bug (AST parser)
    * [NH-1821] - Wrong SQL executed when the SQL contains new lines
    * [NH-1822] - CLONE -NHibernate.Util.TypeNameParser doesn't parse correctly generic types
    * [NH-1830] - Missing MatchMode Parameter
    * [NH-1831] - AST Parser & Bitwise queries
    * [NH-1834] - Formula node in Many-To-One is ignored
    * [NH-1835] - prepare_sql = true (creating prepared queries) makes NHibernate set up wrong size for byte arrays larger than 8000
    * [NH-1837] - UniqueResult<T>() executes sql query twice.
 
** Improvement
    * [NH-473] - order-by in <bag> is ignored if FetchMode is Join
    * [NH-1069] - Add context information to LazyInitializationException.
    * [NH-1097] - Should not parse column names, and consider them as failing HQL queries
    * [NH-1192] - Support bitwise operations
    * [NH-1266] - ISQLExceptionConverter for various Dialects
    * [NH-1672] - Unnecessary calls to planCache.Put
    * [NH-1820] - PostgreSQL: support for Temporary Tables
    * [NH-1824] - MySQL: support for Temporary Tables
    * [NH-1826] - PostgreSQL: support iff() function
    * [NH-1833] - OverflowException instead of expected FormatException when trying to parse a "long" literal
    * [NH-1846] - DbTimestampType (from H3.3.1)
 
** New Feature
    * [NH-1623] - Configuration of UserCollection for any collection type
    * [NH-1817] - Allow <typedef> for Id generator class
 
** Patch
    * [NH-1829] - AbstractEntityPersister.Delete is not virtual
    * [NH-1842] - Type.CharBooleanType.ctor(SqlType) is internal for no reason. Making it protected supports better extensibility.
 
 
Build 2.1.0.Beta1 (rev4424)
=============================
** Bug
    * [NH-959] - HQL queries with math operators and aggregates fail
    * [NH-1092] - An Aggregate Count(*) on on an Abstract Base Class (Polymorphic) with UniqueResults returns 1 result per subclass when using the table per subclass approach
    * [NH-1171] - Named parameters in SQL query are not substituted when query contains comments with apostrophes
    * [NH-1182] - Calling session.delete() causes unnecessary update to timestamp before sql:delete
    * [NH-1400] - HQL string literals with dots in are tried loaded as types (classes) and fails
    * [NH-1427] - XML Comments inside <join> tag cause exception
    * [NH-1444] - broken implicit join
    * [NH-1487] - schema generation of unique-key with column involved in multiple unique constraints
    * [NH-1507] - NHibernate misplaces JOIN conditions when WHERE references their columns and others altoghether
    * [NH-1517] - SaveOrUpdateCopy does not call "public LifecycleVeto OnUpdate(ISession s)"
    * [NH-1601] - Problems when accessing lists through property
    * [NH-1617] - Formulas containing a data type incorrectly have that data type aliased with the outer entity alias
    * [NH-1735] - TicksType used as entity version causes exceptions on cache put operation.
    * [NH-1789] - A proxy sometimes doesn't call the overriden Equals() method (mapping interface instead class)
    * [NH-1801] - Cross join with a where clause where lhs and rhs are different types of associations breaks with the new AST Query Translator
    * [NH-1802] - Query Cache does not include filters in QueryKey.ToString
    * [NH-1805] - Does ignore <meta> on <subclass>
    * [NH-1813] - Not understandable exception message
 
** Improvement
    * [NH-1019] - Improve error message for HQL in when entity not recognised
    * [NH-1814] - Autoregister ReservedWords from MetaData
 
** New Feature
    * [NH-188] - Should Table/Column names be quoted automatically?
 
** Patch
    * [NH-1044] - IdBag for component not in XSD
    * [NH-1804] - Expiration property of session factory not handled when configured via XML
 
Build 2.1.0.Alpha3 (rev4378)
=============================
 
** Bug
    * [NH-1098] - Problem in filters with parameters and associated logging information
    * [NH-1179] - Filter not applied in explicit join
    * [NH-1264] - Eager fetching with Criteria/DetachedCriteria does not seem to be working properly
    * [NH-1307] - Parameter Postion incorrect in the sql query .
    * [NH-1343] - In HQL, when having only one Class for query it fails to work if we forget the Alias.
    * [NH-1388] - Map does not delete keys if value of the key is null
    * [NH-1574] - Stateless Session isn't ignoring untouched proxy properties on update
    * [NH-1725] - When using SELECT NEW <Entity>(iif(a=0, 2, 1)) From .... Returns error '(' expected after HQL function in SELECT
    * [NH-1727] - Hql parameter problems (Sql2005dialect)
    * [NH-1736] - NHibernate.Util.TypeNameParser doesn't parse correctly generic types
    * [NH-1741] - DetachedNamedQuery is ignoring mapped properties
    * [NH-1742] - Wrong parameters order in IQuery with SetParameterList and Filter. SQL Server 2005 and SQL Server 2000
    * [NH-1744] - Open/Close a session inside a TransactionScope fails.
    * [NH-1751] - DistinctRootEntityResultTransformer assumes source ILists are always ArrayLists
    * [NH-1754] - cast HQLFunction don't cast the result
    * [NH-1756] - Updating newly saved entity with generated version causes StaleObjectStateException (explicit flush before commit)
    * [NH-1764] - TableHiLoGenerator fail in a TransactionScope with MySQL database
    * [NH-1767] - Multiple TransactionScopes inside one Session do not work properly
    * [NH-1770] - Not posible to have system properties in web.config and session-factory properties in external hibernate.cfg.xml
    * [NH-1773] - HQL Queries with projection and join fetching fail with AST query translator
    * [NH-1775] - AST Parser & Bitwise queries
    * [NH-1776] - Query executed twice on session with enabled Filter will cause NullReferenceException
    * [NH-1780] - Section 18.4 - Incorrect method name IsUnsaved()
    * [NH-1788] - Dynamic Update & generated timestamp cause NH to try to update the readonly timestamp column
    * [NH-1792] - Invalid Sql for Paging when Subquery contains Order By clause using MsSql2005Dialect
 
** Improvement
    * [NH-514] - Allow expansion of the "on" clause in joins.
    * [NH-1051] - Port AST-based HQL parser / QueryTranslator from H3
    * [NH-1093] - Invalid caching probably shouldn't throw exceptions, but should log warnings.
    * [NH-1516] - HQL doesn't support "update" statements
    * [NH-1553] - SQL Server 2005: Support for wrapping snapshot isolation update conflict SQLException into a NHibernate StaleObjectStateException.
    * [NH-1670] - MutiCriteria and MultiQuery results may be loaded directly into a generic List<T> instead of an ArrayList
    * [NH-1745] - SQL formatters for DDL and all others SQLs
    * [NH-1750] - Mark NHibernate.Util.WeakHashtable [Serializable]
    * [NH-1765] - Add ISessionImplementor property to PreDeleteEvent
    * [NH-1791] - Allow passing params of projections to ICriteria.SetProjectios
    * [NH-1794] - Allow query only properties and associations
    * [NH-1797] - MsSql2005Dialect uses paging query when no offset specified
 
** New Feature
    * [NH-322] - case when...then...else...end in select clause
    * [NH-917] - Allow NHibernate to enlist in arbitrary IDbTransaction
    * [NH-1701] - format_sql property of hibernate
    * [NH-1786] - IObjectFactory (implementation responsibility by ByteCode provider) to concentrate all Activator.CreateInstance.
 
** Patch
    * [NH-1726] - ISessionFactory.Settings gone - breaking change
    * [NH-1769] - Transaction completion on rollback with TransactionScope can cause ObjectDisposedException
    * [NH-1777] - Removed some duplicated casts
    * [NH-1783] - DateType should store only the date part of a System.DateTime to a column
        
Build 2.1.0.Alpha2 (rev4167)
========================
 
** Sub-task
    * [NH-1688] - System.Boolean type incorrectly mapped to YesNoType when the criterion is created by using a projection instead of a property name
 
** Bug
    * [NH-1635] - <many-to-one formula="select id from..."> should not require a column
    * [NH-1671] - SoftLimitMRUCache has a softReferenceCache which is NOT soft
    * [NH-1693] - Wrong parameters order in query with subselect and filter
    * [NH-1694] - SQL2005Dialect - Sorting fails on a Formula property containing a comma while using paging (MaxResults)
    * [NH-1700] - union-subclass with same name as abstract superclass causes NHibernate.DuplicateMappingException.
    * [NH-1706] - property-ref does not work for different data type than PK type
    * [NH-1710] - Decimal fields are not create correctly in SQL Server 2005/2008 using SchemaExport
    * [NH-1711] - Failure of DTC transaction with multiple durable enlistment will crash the process
    * [NH-1715] - Timespan type doesn't work with SqlServer 2005
 
** Improvement
    * [NH-1707] - MsSQL : prepare_sql should be true by-default
    * [NH-1716] - By default map TimeSpan as int64
 
** New Feature
    * [NH-1222] - <Join> elements: collections support
    * [NH-1718] - CurrencyType
    * [NH-1719] - Current TimeSpan moved to TimeAsTimeSpan and TimeSpanInt64 moved back to TimeSpan
 
** Patch
    * [NH-1708] - MS SQL CE Metadata implementation
    * [NH-1712] - Release notes missing info about removal of CriteriaUtil
    * [NH-1713] - NH-1707 results in buggy PrepareStatement behavior
        
Build 2.1.0.Alpha1
========================
 
** Sub-task
    * [NH-1379] - Allow <typedef> for version custom type
    * [NH-1649] - DateTime2 and DateTimeOffset data types support
    * [NH-1650] - FileStream data type support
    * [NH-1656] - Date and Time data types support
 
** Bug
    * [NH-1083] - When using a proxy with an interface access strategy on the Id does not get applied
    * [NH-1177] - Save/Delete/Evict/Save does not work if collections are mapped
    * [NH-1197] - Some tests related to paged subselect are failing under PostgreSQL
    * [NH-1251] - TypeFactory.GetSerializableType race condition
    * [NH-1253] - Named paramaters with numeric suffix may cause problems
    * [NH-1297] - <idbag> with native ID generator throws InvalidCastException
    * [NH-1329] - Expression.Sql with parameters (inside of functions) is broken
    * [NH-1345] - PersistentGenericList.GetEnumerator missing Read
    * [NH-1357] - ICriteria.ClearOrders is mispelled and belongs on DetachedCriteria too
    * [NH-1358] - SchemaUpdate fails for Firebird in released binaries only - NHibernate source and local builds from this source work fine
    * [NH-1385] - System.Collections.Generic.KeyNotFoundException exception in PersistentGenericMap.GetDeletes()
    * [NH-1395] - Unsaved value null for ValueType
    * [NH-1422] - incorrect parameter replacement when one variable is the prefix of another
    * [NH-1443] - default_catalog is not used in create table
    * [NH-1445] - CriteriaImpl.Clone does not propertly maintain the persistentClass
    * [NH-1446] - cast case sensitivity
    * [NH-1447] - boolean ConstantProjection fails with MSSQL2005
    * [NH-1480] - SchemaUpdate & Oracle
    * [NH-1495] - using access=field.camelcase with interface to create proxy
    * [NH-1499] - NullReferenceException construting Criteria query
    * [NH-1502] - Order by with projections uses invalid parameter characters
    * [NH-1505] - LikeExpression when using projections is invalid
    * [NH-1520] - SQLite Dialect does not properly escape names surrounded by backticks
    * [NH-1521] - The drop scripts from SchemaExport in SQL2005 dialect will not work when using DefaultSchema setting other than dbo
    * [NH-1522] - AdoTransaction.CloseIfRequerid
    * [NH-1526] - Cannot use projection for Count in OrderBy
    * [NH-1527] - Using projection on order by in conjuction with set max results with parameters passed to the projection will fail
    * [NH-1528] - Using order by with a parameter and set max results on 2005 mix up the parameters
    * [NH-1549] - Accessing Id of proxy with base class intializes proxy
    * [NH-1552] - Paging in NHibernate builds buggy SQL query string, when paging is used against a MS SQL 2005 Database
    * [NH-1556] - Cannot order by aggregates in HQL
    * [NH-1572] - Small typo in AbstractType.Compare()
    * [NH-1573] - "collable" typo in nhibernate-mapping.xsd
    * [NH-1578] - The "not" criteria does surround the following or inner criteria with parens only when using MySQLDialect.
    * [NH-1584] - one-to-one compositions to a joined subclass don't load
    * [NH-1587] - PocoEntityTuplizer don't use ReflectionOptimizer for instantiator
    * [NH-1590] - NHibernate.Util.ReflectHelper.TryGetMethod not returning inherited id-getter/setter
    * [NH-1593] - SchemaUpdate not create property index.
    * [NH-1594] - When setting property in hbm type="Decimal(precision, scale)" - "DECIMAL(19,5)" is always generated
    * [NH-1608] - LRUMap Memory Leak
    * [NH-1609] - MSSQL2005 dialect: paged query in multicriteria uses wrong parameter values when preceeded by other queries
    * [NH-1611] - One-To-One Mappings Fail with Composite ID
    * [NH-1612] - Native SQL queries for value collections fail with NullReferenceException
    * [NH-1619] - NHibernateUtil returns a wrong IType for Boolean on Postgres
    * [NH-1627] - lazy=extra causes the where=".." to be ignored when using collection.Count()
    * [NH-1633] - Native SQL queries with addJoin or <return-join/> return object arrays instead of single Entities
    * [NH-1637] - Oracle9Dialect Paging based on rownum is not valid.
    * [NH-1640] - FETCH JOIN query doesn't work in a StatelessSession
    * [NH-1654] - Reserved words in formula
    * [NH-1668] - Ingres .NET Data Provider name changed
    * [NH-1675] - Problem using distinct query with SetMaxResult
    * [NH-1677] - Bug in Criteria API with EntityMode == Map
    * [NH-1679] - System.Boolean type incorrectly mapped to YesNoType when the criterion is created by using a projection instead of a property name
    * [NH-1685] - Generated Version Not Reloaded After Update
    * [NH-1687] - Version tag are ignoring child column tag
 
** Improvement
    * [NH-298] - After, deleting an item which belongs to a <list> the list indices are not modified
    * [NH-545] - Distributed transactions support
    * [NH-645] - Support for scalar functions which don't return a value in where clause
    * [NH-727] - Allow using sql-insert with generator class="identity"
    * [NH-1047] - Add overloads to IQuery.SetParameter to accept System.Type
    * [NH-1053] - Allow short class name for collection-type
    * [NH-1202] - Improve the error messages when compiling queries
    * [NH-1274] - Give the option to exclude a mapped class from the SchemaExport.Create loop.
    * [NH-1291] - Example.Create with anonymous objects
    * [NH-1336] - Native id generator as default and make generator optional in config
    * [NH-1354] - Add support for keyed retrieval of MultiCriteria results
    * [NH-1381] - Add support for keyed retrieval of MultiQuery results
    * [NH-1396] - Allow override of EmptyInterceptor.GetEntityName
    * [NH-1398] - Allow access to EntityMode from ISession
    * [NH-1402] - Support Cache for Dynamic entities (entity-name without entity-class)
    * [NH-1468] - InFragment ToFragmentString() needs more information in error
    * [NH-1496] - Configuration.AddAssembly(Assembly) should do some logging if no mapping files where found
    * [NH-1500] - Spelling error of NHibernate.Cfg.ConfigurationSchema.ParseColectionsCache
    * [NH-1515] - Proxy validator doesn't check "internal" methods
    * [NH-1560] - AbstractDataBaseSchema: Make GetIndexInfo and GetIndexColumns virtual
    * [NH-1564] - Generic EnumString Mapping
    * [NH-1588] - "Relax" PocoEntityTuplizer
    * [NH-1589] - ReflectionOptimizer override CreateCreateInstanceMethod
    * [NH-1605] - Typedef support in sql-query/return-scaler/@type attribute
    * [NH-1613] - Allow custom action for schema script create/update
    * [NH-1643] - Allow to use ICollection<T> and HashSet<T> for <set>
    * [NH-1644] - Oracle Lite Driver With Working Query Parameters
    * [NH-1657] - TimeSpan as DbType.Time
    * [NH-1658] - current_timestamp_offset: current_timestamp for DateTimeOffset
    * [NH-1659] - current_timestamp in MsSql2008Dialect using SYSDATETIME()
    * [NH-1661] - DriverConnectionProvider.GetConnection doesn't dispose IDbConnection in case of an exception
    * [NH-1665] - Supports Hibernate-Quoting sequence name
    * [NH-1669] - Add guid.native support to MySQL5Dialect
    * [NH-1678] - Add a CreateCriteria<T> method to session
    * [NH-1684] - MS SQL Server Dialect - UNION ALL
    * [NH-1686] - IStatelessSession.CreateCriteria(System.Type entityType)
    * [NH-1703] - Configuration full serializable
    * [NH-1704] - AliasToBeanResultTransformer should hold ConstructorInfo
 
** New Feature
    * [NH-791] - Add always-wrap As a Configuration Option On Collections
    * [NH-855] - Port lazy="extra" from Hibernate 3
    * [NH-871] - Implement SelectGenerator
    * [NH-1033] - Add support for polymorphic criteria
    * [NH-1106] - SQL Anywhere 10 Driver and Dialect
    * [NH-1173] - Generic Ordered Set
    * [NH-1176] - Trigger generated identities
    * [NH-1188] - Provide a method to delete by Id
    * [NH-1232] - Enums as discriminators
    * [NH-1233] - EnumCharType
    * [NH-1305] - Add BuildMappings method to Configuration to eagerly configure mappings
    * [NH-1359] - Ability to create an IProjection from a DetachedCriteria
    * [NH-1370] - Allow short name for <type>
    * [NH-1371] - short name for UserType (<typedef>)
    * [NH-1373] - shorter name for UserCollectionType (<typedef>)
    * [NH-1393] - Ability to use Aggregate Projections on Projections
    * [NH-1394] - Ability to use "order by projection"
    * [NH-1397] - <tuplizer> from H3.2
    * [NH-1401] - Support for EntityMode.Map and for DefaultEntityMode in Settings
    * [NH-1416] - Support DEFAULTs, for properties values, in mappings
    * [NH-1451] - Port of <natural-id> from H3.2.6
    * [NH-1458] - Collections events (from H3.2.6)
    * [NH-1479] - Add Guid native generation
    * [NH-1493] - BackingField accessors
    * [NH-1518] - Log info per Operation Threshold in statistics (from H3.2.6)
    * [NH-1537] - Comments in Query
    * [NH-1538] - Configuration property use_sql_comments (from H3.2)
    * [NH-1561] - Dialect, Driver + MetaData for SQL Anywhere 9, and 10
    * [NH-1562] - SQLite MetaData
    * [NH-1563] - LinFu ProxyFactoryFactory (LinFu.DynamicProxy)
    * [NH-1571] - MSSQL 2008 Dialect
    * [NH-1596] - Support Connection to Oracle Lite
    * [NH-1621] - Read only property accessor
    * [NH-1632] - System.Transactions support issue
    * [NH-1646] - Support for IQuery.Future<T>()
    * [NH-1662] - sequence-identity generator from H3
    * [NH-1664] - Identity style generic generator support
 
** Patch
    * [NH-1094] - DecodeCaseFragment ignoring 'returnColumnName'
    * [NH-1127] - Use default assembly name and namespace from the <hibernate-mapping> element (more than at present).
    * [NH-1209] - TableHiLoGenerator Jumps 1 number each lo > maxLo
    * [NH-1280] - Adds HAVING support to CreateCriteria queries, Fixes parameter order bugs
    * [NH-1295] - ISynchronization support
    * [NH-1314] - Change signature of AbstractPersistentCollection.IdentityRemoveAll() from ICollection to IEnumerable for generics
    * [NH-1322] - DeleteEvent constructor does not check its parameter properly
    * [NH-1356] - Fixes Generic List of Composite Elements
    * [NH-1409] - Includes Patch : nant build scripts ignore -D:sign=false
    * [NH-1429] - Oracle GUID to Raw(16)
    * [NH-1467] - some comment clean ups
    * [NH-1485] - MultiQueryImpl.GetResultList does not use Result Transformers correctly.
    * [NH-1491] - NoArgSQLFunction is not cls compliant
    * [NH-1503] - Support for Sybase ASE ADO.NET 2 Provider
    * [NH-1532] - Class called SystemConfiguration does not persist properly
    * [NH-1539] - Oracle dialect - incorrect CONCAT behaviour
    * [NH-1540] - Oracle dialect - allowing pagging in subqueries
    * [NH-1541] - Oracle Dialect - Extra lazy collection count not working under Oracle
    * [NH-1542] - Oracle dialect - Fix to some HQL functions
    * [NH-1543] - SQLite paging broken
    * [NH-1547] - SqLite Paqing does not page properly after the 2nd page
    * [NH-1550] - Oracle dialect - pagging correction (+left/right functions)
    * [NH-1551] - Update some tests to support Oracle
    * [NH-1555] - Add some helper methods for the transformers class
    * [NH-1570] - Revision 3859 broke paging support in SQL 2005 dialect for ordered queries
    * [NH-1575] - Revision 3860 introduced bug where paged Hql Queries can break unpaged Hql Queries in Sql 2005
    * [NH-1582] - DbType.Date support for SQLite
    * [NH-1586] - Informix driver
    * [NH-1591] - SetCacheable isn't exposed by DetachedCriteria
    * [NH-1592] - Informix dialect update
    * [NH-1595] - SQLite dialect does not support the "extract" function
    * [NH-1603] - MSSql2005Dialect - Better Data Paging Strategy
    * [NH-1606] - Timestamp in Oracle8
    * [NH-1607] - Dictionary<T,U> should use ContainsKey to check for values
    * [NH-1614] - Add support to primitive type (es: unsigned type) to MySql Dialect
    * [NH-1660] - Faster retrieval of tuplizer
    * [NH-1691] - Nested component broken by fix for NH-1612
    * [NH-1695] - MySQL MetaData implementation
    * [NH-1698] - MS SQL Server 2005 creates a clustered primary key by default. Requesting nonclustered as a default to simplify the creation of optimized clustered indexes.
    * [NH-1702] - Make AliasToBeanResultTransformer able to return types with a non-public constructor
 
** Task
    * [NH-1511] - Correctly spell IPropertyAccessor.CanAccessTroughReflectionOptimizer
 
 
Build 2.0.1.GA
========================
** Bug
    * [NH-1293] - Changed behavior of Filters for many-to-one associations brings up possible bug when used with outer joins.
    * [NH-1464] - C++ and Dispose method
    * [NH-1466] - current_session_context_class = thread_static doesn't work
    * [NH-1473] - IsEqual and Compare broken in EntityType
    * [NH-1481] - Named Hql queries w/ Named Parameters broken after upgrade to 2.0 from 1.2.1
    * [NH-1483] - Subclass Not Loaded From Cache as Baseclass
    * [NH-1488] - Table per class hierarchy and OUTER JOIN
    * [NH-1490] - Wrong order of parameters in query when session uses IFilter
    * [NH-1492] - Parameter mismatch enabling filters
    * [NH-1499] - NullReferenceException construting Criteria query
 
** Improvement
    * [NH-1484] - first chance exception 'NHibernate.MappingException' when starting a webapplication
    * [NH-1496] - Configuration.AddAssembly(Assembly) should do some logging if no mapping files where found
    * [NH-1500] - Spelling error of NHibernate.Cfg.ConfigurationSchema.ParseColectionsCache
 
 
** Patch
    * [NH-1034] - HQL functions - parameters support
    * [NH-1434] - Some unit test supplies non-character value to LIKE: not portable across every RDBMS
    * [NH-1435] - Explicitly order query in NH-1179 to ensure reliable results
    * [NH-1436] - Mapping of NH-1250 not portable across every RDBMS
    * [NH-1437] - Mapping of NH-1408 not portable across every RDBMS
    * [NH-1438] - Some queries from FooBarTest fixture are not portable across every RDBMS
    * [NH-1439] - Handle Dialect.GetIdentityColumnString(DbType type)
    * [NH-1459] - Sybase dialect
    * [NH-1462] - StringHelper.GetFullClassname fails to parse generic types
 
Build 2.0.0.GA
========================
** 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")
 
Build 2.0.0.CR2
========================
** Sub-task
    * [NH-1407] - Actualize documentation of <any>
 
Build 2.0.0.CR1
========================
** 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-1285] - Drop schema script generated by SchemaExport has bug
    * [NH-1290] - AuxiliaryDatabaseObject with no params causes crash
    * [NH-1296] - SQLite dialect does not support empty inserts
    * [NH-1301] - Cascade doesn't work for Refresh
    * [NH-1309] - Cannot recreate db when using schema and fK
    * [NH-1313] - SqlFunctionProjection does not look at custom sql functions
    * [NH-1332] - PostCommitDelete only fires when PostCommit is also used (in 2.0.0.alpha1)
    * [NH-1334] - SesssionFactoryImpl.BuildCurrentSessionContext does recognize "web" property
    * [NH-1340] - Ordering by Formula Property when paging will cause invalid SQL on SQL Server 2005
 
** Improvement
    * [NH-763] - NHibernate Does Not Recognize Dependent Resources
    * [NH-1158] - Upgrade to DynamicProxy 2
    * [NH-1283] - SetGuid is missing in IMultiQuery interface
    * [NH-1303] - UUIDStringGenerator#Generate Improvement
 
** New Feature
    * [NH-1134] - Allow property-ref for collection keys
 
** Patch
    * [NH-1058] - automatically create indexes for foreign keys in postgresql dialect
    * [NH-1140] - Getting NullReferenceException when using SimpleSubqueryExpression within another subexpression
    * [NH-1146] - Expose DetachedCriteria in SubqueryExpression
    * [NH-1162] - Add list-index element and property-ref attribute to key element in mapping schema
    * [NH-1163] - Add more complete identity column support to SQLiteDialect
    * [NH-1166] - Sql server lock patch, pessimistic locking for SQL Server 2000/2005
    * [NH-1201] - Patch: MultiQueryImpl.GetResultList does not use Result Transformers correctly.
    * [NH-1292] - No-Dialect Patch
    * [NH-1302] - Patches for Visual Studio 2008 / .Net 3.5
    * [NH-1308] - Patch to get a MappingException when association references unmapped class
    * [NH-1310] - IStatelessSession invalid return type from Get<T>()
    * [NH-1320] - CriteriaTransformer does not properly transforms to rowcount when using subcriteria
    * [NH-1325] - Source code does not compile
 
** Task
    * [NH-802] - Investigate possible use of MSBuild to build the project
    * [NH-1321] - Add NCache Express provider to documentation
 
Build 2.0.0.Alpha1
========================
 
** Bug
    * [NH-987] - Schema creation on SQL Server 2000 uses SQL 2005 system views
    * [NH-1028] - Duplicate column names in queries
    * [NH-1042] - MultiQuery force to use parameter in all queries
    * [NH-1045] - CastleLazyInitializer throws null pointer exception during proxy creation
    * [NH-1055] - Multi Criteria ignored Result Transformer
    * [NH-1059] - Join mapping for a subclass is incorrectly applied to the base class
    * [NH-1084] - Subclass with Join fail when trying to query
    * [NH-1088] - Wrong exception text referring to config property hibernate.dialect
    * [NH-1104] - RowCountProjection type should be Int64
    * [NH-1147] - Minor bug with AbstractFlushingEventListener
    * [NH-1149] - Second Level Caching with Quey Caching is not working
    * [NH-1154] - Delete object broken
    * [NH-1168] - HQL functions 'length()' and 'bit_length()' doesn't support a non-string argument type under PostgreSQL 8.3
    * [NH-1170] - Multiple queries issues for UniqueResult
    * [NH-1178] - Example.Create(exampleInstance).ExcludeZeroes().ExcludeNulls() seems has a bug.(version 1.2.0.400)
    * [NH-1179] - Filter not applied in explicit join
    * [NH-1181] - NHibernate.JetDriver - replace 'upper(' with 'ucase('
    * [NH-1187] - concat function fails when a parameter contains a comma, and using MaxResults (MSSQL 2005)
    * [NH-1223] - To Change hibernate mapping.xml schma value change for at the runtime
    * [NH-1229] - Formula fails when using the pagging on MSSQL 2005 dialect
    * [NH-1234] - PersistentEnumType incorrectly assumes enum types have zero-value defined
    * [NH-1235] - SetMaxResults() returns one less row when SetFirstResult() is not used
    * [NH-1237] - Cannot set PostLoadEventListener event listeners.
    * [NH-1246] - Reading BinaryBlob triggers update when transaction is committed.
    * [NH-1249] - Bug in GetLimitString for MSSql 05 when ordering by aggregates
    * [NH-1255] - key-many-to-one && not-found
    * [NH-1259] - Recursive call in SetListener(type,null) causes stack overflow
    * [NH-1260] - SessionImpl.EnableFilter returns wrong filter if already enabled
    * [NH-1261] - HQL Functions with no arguments add the return type twice
    * [NH-1265] - Generated Id does not work for MySQL
    * [NH-1268] - one-to-one can never be lazy?
    * [NH-1275] - FOR UPDATE statements not generated for pessimistic locking
    * [NH-1286] - Binary types are not compared properly and always sent to update
 
** Improvement
    * [NH-364] - IdBag doesn't work with Identity columns
    * [NH-421] - Dialect Improvements
    * [NH-568] - year(), month(),date() and some other functions: not supported in HQL
    * [NH-628] - HQL functions mapping
    * [NH-865] - Change SQL Server dialect to use COUNT_BIG for count
    * [NH-913] - make Flush() - return int value for records affected
    * [NH-924] - ICriteria - Inspection/traversal, modification and cloning
    * [NH-969] - IIf for MS SQL
    * [NH-970] - OnPreLoad & OnPostLoad Lifecycle Events
    * [NH-975] - Add a way for the user to specify their own ProxyFactory
    * [NH-993] - Document MultiCriteria
    * [NH-1063] - NHibernate.Mapping.Attributes - Support ImportAttribute when serializing an assembly
    * [NH-1085] - When using multi query, allow missing parameters in queries
 
** New Feature
    * [NH-280] - Using constants in select clause of HQL
    * [NH-424] - Add [ Table per subclass, using a discriminator ] Support to Nhibernate
    * [NH-543] - Adding GetEntityName to IInterceptor (H3.0 feature)
    * [NH-786] - Port statistics from H3
    * [NH-831] - Add MutliCriteria
    * [NH-979] - Allow cloning of DetachedCriteria
    * [NH-1036] - IQuery.executeUpdate()
    * [NH-1111] - PostgreSQL 8.3 dialect with Guid type support
 
** Patch
    * [NH-387] - Rolling back identifiers
    * [NH-466] - Add join mapping element to map one class to several tables
    * [NH-982] - Patch for Castle DynamicProxy2 Support
    * [NH-1073] - Remove #if NET_2_0 directives
    * [NH-1078] - .NET 2.0 Configuration section to store nhibernate configuration
    * [NH-1109] - HQL functions 'current_timestamp', 'str' and 'locate' for PostgreSQL dialect
    * [NH-1110] - Enable Multi Query support for Npgsql (PostgreSQL) driver
    * [NH-1113] - Test DetachedQueryFixture.ExecutableNamedQuery fails on case-sensitive databases
    * [NH-1114] - Tests NHSpecificTest NH898 and NH958 failed on databases without DbType.Guid support
    * [NH-1231] - Add support for SetResultTransformer to ISQLQuery queries (auto-discovery of return types)
    * [NH-1240] - VetoInterceptor - Cancel Calls to Delete, Update, Insert via the IInterceptor Interface
    * [NH-1242] - Change path delimiter to '/' to be buildable on non-Windows platforms
    * [NH-1243] - NHibernate.Search is not CLS compliant.
    * [NH-1244] - NHibernate uses ConfigurationManager which is in System.Configuration.dll which is not referenced.
    * [NH-1245] - Update mono targets.
    * [NH-1273] - Generic version of AbstractQueryImp.UniqueResult<T>() called twice
 
** Task
    * [NH-1087] - Discard <nhibernate> section and substitute it whit <hibernate-configuration>
    * [NH-1221] - Implement FullTextQueryImpl.ExecuteUpdate()
    * [NH-1239] - Update build script to include configuration templates.
 
Build 1.2.1
========================
 
Bug Fixed:
 
    * [NH-111] - Oracle "Invalid identifier" exception
    * [NH-989] - Assemblies are not registered in the correct order
    * [NH-995] - Problem with CompositeId+"key-many-to-one"+Caching
    * [NH-999] - One Shot Delete doesn't work - and cause reference violations
    * [NH-1006] - Invalid SQL order generated by JetDriver
    * [NH-1011] - update=false attribute ignored
    * [NH-1012] - DetachedCriteria CreateAlias with joinType (new in1.2) is broken
    * [NH-1018] - 'DistinctRootEntity' result transformer throws InvalidCastException
    * [NH-1023] - using projections and transformer causes invalid column name when property and alias are the same
    * [NH-1039] - NullReferenceException for dynamic-component containing a set
    * [NH-1061] - Schema name missing when quering for highest key value
    * [NH-1064] - wrong association owner when fetching eagerly
    * [NH-1068] - Typo in example-mappings.html
    * [NH-1086] - SerializationException when using MemCacheProvider as cache because some classes miss the SerializableAttribute.
    * [NH-1124] - Problem in NHibernate.Type.ComponentType.NullSafeSet
    * [NH-1155] - SubselectFetch doesn't take into account paging
    * [NH-1156] - MS2005Dialect doesn't handle same column & alias names correctly
    * [NH-1167] - SubCriteria.CreateCriteria(string associationPath, string alias, JoinType joinType) always uses JoinType.InnerJoin
 
Improvements:
 
    * [NH-901] - ComponentType mappings for with value types (structs) cause incorrect dirty checking
    * [NH-1049] - classes which inherit Order can't override ToSqlString
 
New Features:
 
    * [NH-1022] - Add command batching support for OracleClient driver
 
Patches Applied:
 
    * [NH-585] - Unknown version when using replicate and joined-subclass
    * [NH-903] - IQuery.SetFirstResult and SetMaxResults break in MsSql2005Dialect for ISQLQuery using WITH keyword
    * [NH-990] - Abstract CurrentSessionContext management and add more implementations
    * [NH-1014] - NHibernate Cross Join Syntax Causes Issues With SQL Server 2000/2005
    * [NH-1054] - Add hibernate.transaction.factory_class setting
    * [NH-1056] - Command batching support for OracleDataClientDriver
    * [NH-1076] - Sybase11 Dialect
    * [NH-1080] - HQL parser incorrectly registers a many-to-one association as a one-to-one.
    * [NH-1119] - valuetypes in uniqueresult<T> give an error when query result is null
    * [NH-1160] - Parameter compatibility problem in cached Sql command.
    * [NH-1193] - Limit string in MsSql2005 dialect can sort incorrectly on machines with multiple processors
 
Task Completed:
 
    * [NH-1002] - Document undocumented configuration properties
 
 
Build 1.2.0.GA
========================
 
Patches Applied:
 
    * [NH-992] - AuxiliaryDatabaseObject enhancement
 
Bugs Fixed:
 
    * [NH-980] - Table name not quoted with increment generator
 
Improvements:
 
    * [NH-974] - Build and distribute a binary zip file along with the installer
    * [NH-976] - Better error description when subclass table name is wrong
    * [NH-985] - Map DbType.Guid to CHAR(38) for Oracle
    * [NH-988] - Proxy validator should complain on non-virtual internal members
 
Build 1.2.0.CR2
========================
 
Patches Applied:
 
    * [NH-859] - Improve SubselectFetch performance
    * [NH-931] - Error Message Improvement for SingleTableEntityPersister.cs
    * [NH-934] - Fix Spelling in comments and parameter lists
    * [NH-937] - Improve comments and parameter lists
    * [NH-954] - Fix build for mono-1.0 on Linux
    * [NH-955] - JetDriver breaks on non-standard cultures, on the DateTime fix
    * [NH-962] - Parent-Child relationships not properly persisted in certain cases
 
Bugs Fixed:
 
    * [NH-898] - ArgumentException from EntityKey constructor when running a HQL query
    * [NH-926] - Identity insert fails with SQL Ce dialect and aggresive connection release mode.
    * [NH-929] - session.Save(object) sets bogus ID fields using MySQL with default hibernate.connection.release_mode
    * [NH-930] - Schema Export generates duplicate constraints
    * [NH-932] - hbm2net: Troubles using "classname, AssemblyName" in Extends attribute of joined-subclass
    * [NH-933] - Expression.In does not support Generic lists
    * [NH-940] - domain model exception badly handled by proxy NHibernate
    * [NH-952] - AddAssembly doesn't seem to order joined-subclass correctly
    * [NH-958] - ISession.SaveOrUpdateCopy throws exception when class has <any> mapping
    * [NH-965] - Error with computed property (property ... formula="... ) inside <compsite-element> block
    * [NH-966] - Unsafe type cast code in DetachedCriteria.GetExecutableCriteria
 
New Features:
 
    * [NH-305] - Generated properties
    * [NH-428] - Support Multiple Collections join fetch
    * [NH-915] - Add pessimistic locking for SQL Server 2000/2005
    * [NH-936] - Sys Cache with SqlCacheDependencies
 
Improvements:
 
    * [NH-944] - Provide API for specifying JoinType in subqueries
    * [NH-947] - Add IInterceptor.SetSession
    * [NH-948] - Documentation needs update: "Copy the xsd files to ... directory for enabling IntelliSense"
 
Build 1.2.0.CR1
========================
 
Patches Applied:
 
    * [NH-859] - Improve SubselectFetch performance
    * [NH-874] - Named Parameters do not work in Having Clause
    * [NH-875] - Query cache does not work when filters are enabled
    * [NH-923] - The NHibernate.Expression.Order class doesn't implement ToString()
 
Bugs Fixed:
 
    * [NH-857] - Filter parameter is mandatory and should be optional
    * [NH-864] - Dynamic update of NULL column using Nullables.NullableInt32 with "dirty" optimistic locking fails
    * [NH-870] - Expression.Disjunction has wrong semantics when empty
    * [NH-872] - SetCacheable(true) with an enabled filter fails
    * [NH-873] - Setting hibernate.cache.use_second_level_cache to false throws NRE in SessionFactoryImpl constructor
    * [NH-876] - NullReferenceException on query exection with SetCacheable(true) and null parameters
    * [NH-882] - using binary type in filter does not work
    * [NH-883] - Update to Bag cannot be flushed more than once.
    * [NH-890] - hbm2net cannot handle wildcards without a path
    * [NH-891] - Parameters do not work in HQL array access expression
    * [NH-897] - An index attribute in the property tag does not create an index
    * [NH-906] - SubselectFetch does not properly handle forumla properties containing "from"
    * [NH-907] - Test WhereAttributesOnBags fail on PostgreSQL
    * [NH-909] - Test CastFunc() fails on PostgreSQL
    * [NH-911] - Allow subqueries with joins using Criteria API and Subqueries with DetachedCriteria
    * [NH-912] - NullReferenceException in TypedValue.ToString
    * [NH-914] - Test NH826 fails on PostgreSQL
    * [NH-916] - Test SelectSqlProjectionTest() fails on PostgreSQL
    * [NH-918] - wrong parameters passed to AddIdentitySelectToInsert()
    * [NH-920] - DB2400Dialect does not support "mod(x,y)" function
 
New Features:
 
    * [NH-888] - RFE: IQuery.SetGuid
 
Tasks Completed:
 
    * [NH-862] - Document that aggressive connection release does not work well with System.Transactions
    * [NH-867] - Write a migration guide from 1.0.x to 1.2.0
 
Improvements:
 
    * [NH-868] - Add optimistic-lock attribute to all elements that have it in H3
    * [NH-869] - Implement IInterceptor.BeforeTransactionCompletion and others
    * [NH-879] - Deprecate ILifecycle and IValidatable; move them to NHibernate.Classic.
    * [NH-880] - Move IUserType and ICompositeUserType to NHibernate.UserTypes
    * [NH-881] - Add Configuration.AddSqlFunction
    * [NH-887] - Support superclass property reference in property-ref
    * [NH-902] - Remove usage of string.Intern
    * [NH-910] - PostgreSQL 8.2 dialect with "IF EXISTS"
    * [NH-922] - PostgreSQL support for identity column using "SERIAL" type
 
Build 1.2.0.Beta3
========================
 
Breaking Changes
    * ConnectionReleaseMode support ported from Hibernate. By default, connections are released after every transaction,
      or after every operation if no NHibernate transaction is in progress.
 
Patches Applied:
 
    * [NH-807] - Criteria Tests
    * [NH-813] - CacheKey key is invalid - memcached fails to store objects.
 
Bugs Fixed:
 
    * [NH-793] - NHybridDataReader.ReadIntoMemory fails when the result is 0 records. "Invalid attempt to read when no data is present".
    * [NH-812] - PostgreSQL - for update no wait
    * [NH-815] - SQLQueryImpl fails to bind parameter lists
    * [NH-816] - Criteria using class with discriminator
    * [NH-818] - NHibernate.JetDriver Not Working at all in 1.2.0.Beta2 (encounters System.NullReferenceException)
    * [NH-819] - Memcached.Client library is using log4net 1.2.9, instead of 1.2.10
    * [NH-825] - QueryKey doesn't take into account the entity ID when generating ToString()
    * [NH-826] - Using Criteria to query for an item throws on Flush in some situations
    * [NH-829] - pagination select doesn't support 'distinct' for NHibernate.Dialect.FirebirdDialect
    * [NH-830] - ICriteria does not automatically flush the session for many-to-many association change
    * [NH-837] - Error using Limits with DB2400Dialect
    * [NH-839] - PersistentGenericMap GetSnapshotElement InvalidCastException
    * [NH-841] - generator class="native" not works with NHibernate.JetDriver
    * [NH-845] - Queries and imports in separate hmb.xml are not parsed (re-opening)
    * [NH-850] - Non-portable file path for generated source files by hbm2net
 
New Features:
 
    * [NH-370] - Add Configuration.SetDefaultAssembly and SetDefaultNamespace methods
    * [NH-752] - Informix Dialect
    * [NH-828] - Port connection release mode from H3
 
Tasks Completed:
 
    * [NH-796] - Document ISessionFactory.GetCurrentSession functionality
    * [NH-801] - Upgrade NAnt libraries to 0.85
    * [NH-833] - Document SQL Server command batching functionality
    * [NH-834] - Document hibernate.connection.connection_string_name
 
Improvements:
 
    * [NH-383] - SessionFactory should implement System.IDisposable
    * [NH-442] - Medium Trust level support
    * [NH-648] - NHibernate.Mapping.Attributes - Allow [(Jcs)Cache], [Discriminator] and [Key] at class-level
    * [NH-666] - IQuery.SetParameterList should support generics
    * [NH-729] - Add ICurrentSessionContext implementation for ASP.NET apps.
    * [NH-730] - make the bag Attribute protected instead of private in PersistentBag.cs
    * [NH-743] - change BatcherImpl to public
    * [NH-780] - Obsolete code in the tips 'n tricks
    * [NH-808] - Type of count(*) should be Int64
    * [NH-810] - Prevent use of many-to-one association in Expression.Eq
    * [NH-817] - DetachedCriteria Serializable
    * [NH-835] - Document MultiQuery
    * [NH-840] - Include Inner Exception on 'Duplicate identifier in table for:' exception msg
    * [NH-851] - More descriptive error message for 'Cannot find constructor' on projections
    * [NH-852] - Report proxy validator errors in bulk
    * [NH-856] - NHibernate.Mapping.Attributes - Allow mapping attributes on interfaces
 
 
Build 1.2.0.Beta2
========================
 
Breaking Changes:
    * XML schema versions have been changed from 2.0 to 2.2.
    * This version includes an updated Castle.DynamicProxy library. However,
      its maintainers have not changed the version number with the update. Remember
      to update Castle.DynamicProxy when updating NHibernate from an earlier version.
 
Patches Applied:
 
    * [NH-247] - Expression.InsensitiveLike support for Firebird
    * [NH-335] - discriminator formula
    * [NH-723] - SqlTest for Firebird
    * [NH-725] - null reference exception which attempting to flush a versioned object
    * [NH-747] - Invalid number of SQL parameters when calling ISession.Delete on an optimistic-locked object with 1 or more NULL properties
    * [NH-749] - NHb tests using Firebird
    * [NH-751] - hasDataTypeInIdentityColumn to support Informix and similar
    * [NH-757] - Patch for JetDriver
    * [NH-762] - Patch to fix errors in Expression.AbstractEmptiness
    * [NH-765] - Use "(" and ")" to enclose the ToString of LogicalExpression.cs
 
Bugs Fixed:
 
    * [NH-528] - Fix GROUP BY example in documentation (GROUP BY object instance does not work)
    * [NH-555] - Problems with complex aggregate queries
    * [NH-585] - Unknown version when using replicate and joined-subclass
    * [NH-593] - Throw a meaningful exception when using Expression.In with collection types
    * [NH-600] - TimestampType precision problems
    * [NH-622] - Collection of subtypes with discriminators not working
    * [NH-623] - Where attribute of collection not rendered when eager fetched
    * [NH-637] - Between Criterion Parameters Applied Incorrectly for Component
    * [NH-642] - ArgumentNullException if no setter exists and no access strategy was specified
    * [NH-681] - Generic List Error
    * [NH-697] - System.MissingMethodException: Method not found: Int32 System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(System.Object).
    * [NH-704] - Lock(obj, LockMode.None) not working when there is collection
    * [NH-716] - Dirty Checking exception (many-to-one, select-before-update)
    * [NH-732] - Can't use UserType for keys
    * [NH-734] - ArgumentOutOfRangeException when setting LIMIT parameters using MySQL
    * [NH-735] - Oracle Driver/Dialect
    * [NH-739] - Saving transient item in the PersistantBag results duplicate items
    * [NH-740] - Logging for tests is sometimes not configured properly
    * [NH-741] - Invalid parameter handling when using functions
    * [NH-742] - Error with computed property (property ... formula="... ) inside <component> block
    * [NH-746] - NHibernate.SqlCommand.Template quoted Token when not required
    * [NH-750] - <not-found> with many-to-many
    * [NH-753] - Composite ID with Positional Parameters in sql-query
    * [NH-768] - Delete fails when using optimistic-lock and bags
    * [NH-775] - IQuery.SetResultTransformer() doesn't work
    * [NH-776] - one-to-one to proxied types not handling missing associated classes correctly (as null)
    * [NH-777] - ArgumentNullException: Value cannot be null. Reflection exception.
    * [NH-782] - Update to latest DynamicProxy to fix race condition
    * [NH-798] - Custom insert/update/delete SQL ignored for collections
 
New Features:
 
    * [NH-432] - Port sessionFactory.getCurrentSession() from H3.1
    * [NH-499] - NHibernate filters
    * [NH-515] - Port subselect fetching from Hibernate 3.1
    * [NH-755] - Port DetachedCriteria from Hibernate 3
    * [NH-758] - Allow Schema Export to work directly against an IDbConnection or TextWriter
    * [NH-783] - Port Subquery support for the Criteria API
    * [NH-795] - Implement lazy="proxy|false" for *-to-one associations
 
Tasks Completed:
 
    * [NH-412] - Improve build files
    * [NH-663] - Update readme.html
 
Improvements:
 
    * [NH-372] - Allow insert="false", update="false" for components
    * [NH-575] - Enhance user types support
    * [NH-606] - Throw an meaningfull exception when collectionType.GetGenericArguments() returns 0 arguments.
    * [NH-608] - Add ICriteria.CreateCriteria and CreateAlias overloads taking a JoinType parameter.
    * [NH-614] - Optimize generic IQuery.List implementation
    * [NH-615] - Change XML schema names to -2.2
    * [NH-632] - Change the error message for a database driver assembly that wasn't found.
    * [NH-696] - upgrade to log4net 1.2.10.0
    * [NH-712] - Improve returned error message when default constructor is not present on a class mapped as a component
    * [NH-726] - Document that custom insert sql ignored when id generator not "assigned"
    * [NH-744] - Add DDL logging to SchemaExport
    * [NH-760] - Allow replacing a registered function in Dialect.RegisterFunction
    * [NH-761] - Change ISession.Get() to initialize a proxy if it returns one, like in H3.2
    * [NH-778] - Adding pascalcase-m (without the underscore)
    * [NH-792] - Do not wrap exceptions in DriverConnectionProvider.GetConnection
 
Build 1.2.0.Beta1
========================
 
Patches Applied:
 
    * [NH-604] - Excessive memory consumption bug with heavy HQL usage
    * [NH-636] - Add parametrized type
    * [NH-638] - Add tests for UserCollectionType
    * [NH-650] - DB2400Driver and DB2400Dialect
    * [NH-668] - Support Sqlite ADO.Net 2.0 DataProvider
    * [NH-673] - SQL Server 2005 Everywhere Edition Driver (SqlServerCeDriver)
    * [NH-680] - Updates to NHibernate.Tool.hbm2net-2.0 to map nullable types correctly (and more)
    * [NH-689] - NHibernate.SQL - Log the SQL parameters on the same log line as the statement
    * [NH-698] - Firebird Dialect Limit Support
    * [NH-701] - Log SchemaExport errors using log4net
    * [NH-713] - Port property level optimistic-lock functionality from Hibernate 3.0
    * [NH-715] - SQL00029 error on INSERT INTO DB2/400 (with identity column)
 
Bugs Fixed:
 
    * [NH-559] - Memory leak associated with HQL queries
    * [NH-621] - IdentifierGeneratorFactory.Get() should use Id's IType conversion methods
    * [NH-643] - Parent child problem when using SysCacheProvider
    * [NH-649] - Firebird dialect (repeated RegisterFunction)
    * [NH-669] - Generic map is not working
    * [NH-687] - ISession.Get() strange behavior (probably a bug)
    * [NH-690] - SupportsIdentitySelectInInsert property in Dialect class never used
    * [NH-705] - With SysCache impossible to strore object after the gc clears the cache
    * [NH-709] - CommandTimeout property should not be global
    * [NH-719] - Caching of "any" reference to lazy classes
    * [NH-720] - Cache regions are not being used
 
New Features:
 
    * [NH-258] - Stored Procedures
    * [NH-268] - "not-found" attribute on relation mappings
    * [NH-617] - Add support for projections in criteria queries
    * [NH-629] - Ingres Driver and Dialect
    * [NH-640] - IList parameter for Criteria.List
 
Improvements:
 
    * [NH-530] - Config loader error messages
    * [NH-535] - Allow all ID generators to return all integer types, not just Int16/32/64
    * [NH-541] - Error Message Improvement
    * [NH-581] - Make MsSql2005Dialect use nvarchar(max), varbinary(max), and varchar(max) instead of ntext, image, and text
    * [NH-613] - Guid for Firebird
    * [NH-625] - Add Configuration.AddUrl
 
NHibernate.Mapping.Attributes:
 
    * [NH-494] - RawXmlAttribute: Insert XML as-is in the mapping
    * [NH-684] - AttributeIdentifierAttribute: Change a string value in an Attribute (column name, ...)
    * [NH-589] - Registration of properties' types patterns: Transform FQNs of properties types
    * [NH-644] - Pass UnsavedValue as object: Use UnsavedValueObject (in Id, Version, ...)
    * [NH-651] - Add methods to HbmSerializer returning a stream
    * [NH-652] - Order (joined-)subclasses when they extend each others
    * [NH-587] - HbmWriter.WriteUserDefinedContent(): Improve extensibility
    * [NH-588] - MappingException: Exception thrown by this library
 
Build 1.2.0.Alpha1
========================
 
Important Breaking Changes:
    * Entities and collections are lazy by default. Change by setting default-lazy="false"
      in <hibernate-mapping>.
    * Types used as proxies are now validated (a check is done that all public members are
      virtual). Validation can be disabled by setting hibernate.use_proxy_validator to false.
    * ISession.Get/Load now obey where="..." attribute of <class>.
    * Assemblies are signed using a new, publicly available, key.
    * Assembly.LoadWithPartialName is no longer used to load assemblies. If you want NH to load
      an assembly from the GAC, use <qualifyAssembly> element in the configuration file to
      specify its fully qualified name. This change will primarily affect loading of ADO.NET
      data provider assemblies.
 
Patches Applied:
 
    * [NH-595] - Possible bug in SessionImpl.EndLoadingCollections method
 
Bugs Fixed:
 
    * [NH-242] - Hbm2Net looks for template file in the current directory but should in the program directory
    * [NH-467] - Many-to-one ignores "WHERE" class mapping element on associated Class
    * [NH-511] - IVersionType.Seed should be set to 1 instead of 0 for integer types
    * [NH-532] - PropertyNotFoundException ctor throws NullReferenceException
    * [NH-538] - config.AddDirectory doesn't work
    * [NH-540] - Register of AnsiChar type
    * [NH-544] - Small Issue about Iesi.Collection.Set
    * [NH-548] - Component Parent set to null on 2nd-level cache hit
    * [NH-550] - Incorrect SQL Generated when using SetMaxResults() with DB2
    * [NH-551] - Unable to use DB2 in .NET 1.1 when 1.1 & 2.0 installed side by side
    * [NH-552] - Collection of "nullifiables" not updated when object saved back
    * [NH-560] - Bad alias generated for Generic class
    * [NH-563] - Exception in NDataReader.cs when loading BinaryBlob
    * [NH-571] - class keyword in WHERE broken for table-per-subclass mappings
    * [NH-574] - sort="natural" doen't work when namespace and assemply were set
    * [NH-579] - Cannot load class="System.DayOfWeek"
    * [NH-580] - Possible bug in hbm2net
    * [NH-582] - All IType implementations should be serializable
    * [NH-607] - session.GetEntityIdentifierIfNotUnsaved can return null
    * [NH-609] - SysCache re-caches items without expiration policy
 
New Features:
 
    * [NH-449] - SQL Server 2005 dialect
    * [NH-553] - Driver for Adaptive Server Anywhere 9.0
 
Tasks:
 
    * [NH-155] - Look at TableHiLoGenerator Impl
 
Improvements:
 
    * [NH-179] - Add Proxy Validator
    * [NH-243] - Hbm2Net is unable to extent with own renderer
    * [NH-259] - Type-Safe Collections
    * [NH-338] - Support .NET 2.0 CLR/BCL features, esp Generics and Nullable Types
    * [NH-353] - Assembly.LoadWithPartialName is obsolete in .NET2
    * [NH-416] - Change default laziness of classes and collections to "true" to match Hibernate 3.1
    * [NH-441] - Make proxy validator optional
    * [NH-457] - SysCache slidingExpiration property doesn't work properly
    * [NH-547] - Add IL-based reflection optimizer
    * [NH-602] - Support for new Firebird provider
 
Build 1.0.2.0
========================
 
Bugs Fixed:
 
    * [NH-409] - Sybase - Polymorphics Queries - wrong SQL generation about aliases/quotes
    * [NH-418] - Custom persister cannot be instanciated.
    * [NH-464] - DateTime does not work in composite-element mapping
    * [NH-470] - Disconnect and Close should not close user-supplied connections
    * [NH-471] - Misspelled property in ICriteria throws NullReferenceException
    * [NH-476] - GetSetHelperFactory doesn't work with external dependencies
    * [NH-477] - IncrementGenerator reads Int64 even if Int32 or Int16 is used.
    * [NH-479] - One-To-One SaveAndUpdateCopy - Reference Identifier Bug
    * [NH-480] - Should use invariant culture with ToLower and other string calls
    * [NH-496] - Reflection optimizer should throw a more informative exception when a property is mapped using a wrong type
    * [NH-505] - Reflection optimizer does not work with structures
    * [NH-508] - changes to idbag collection not persisted correctly
    * [NH-509] - ILMerge is not packaged in the distribution
    * [NH-512] - Custom properties accessors do not work
    * [NH-523] - SaveOrUpdateCopy throws PersistentObjectException
 
New Features:
 
    * [NH-513] - FOR UPDATE NOWAIT in Postgresql 8.1
 
Improvements:
 
    * [NH-483] - Improve type resolution to handle dynamic assemblies
    * [NH-488] - Change log level for GetSetHelper messages to DEBUG so that users are not confused
    * [NH-489] - Remove logging from ADOException constructor
    * [NH-491] - SQLite dialect should use DATETIME type for date/time columns
    * [NH-493] - Correction in the NHibernate.Type.CharType.cs
    * [NH-497] - Add more Hibernate-compatible type names
    * [NH-506] - Make Environment.UseReflectionOptimizer property writable
    * [NH-516] - Log SQL parameter values
    * [NH-521] - Locking an unitialized entity causes its initialization
    * [NH-525] - Upgrade to latest DynamicProxy
 
Build 1.0.1.0
========================
 
Bugs Fixed:
 
    * [NH-406] - NHibernate.Cfg.Configuration.Configure("MyAssembly.dll.config") results in System.NullReferenceException
    * [NH-407] - session.Refresh(myObject) does not refresh/load the object from the datbase if it does not exist in the cache.
    * [NH-414] - Need to process <cache> and <collection-cache> in configuration files
    * [NH-417] - Column Alias bug
    * [NH-422] - <meta-value> child tag missing from <many-to-any>
    * [NH-440] - one-to-one unique foreign key mapping fails during query
    * [NH-415] - AddXmlString should rethrow exceptions it catches
    * [NH-463] - IncrementGenerator returns Int64 but uses an Int32 internally
 
New Features:
 
    * [NH-113] - drop table SQL will now check if the table exists on MS SQL
      to avoid unnecessary warnings.
    * [NH-450] - Added hbm2ddl NAnt task by James Geurts
 
Improvements:
    * [NH-403] - BinaryType.Get should now perform faster
    * [NH-398] - Bulk property get/set optimization in AbstractEntityPersister
      contributed by Roberto Paterlini. The optimization is enabled by default,
      set hibernate.use_reflection_optimizer property to false in your
      App.config file to disable it. Note that the property is global, thus
      it is only possible to set it in the app.config file in <nhibernate>
      session (see above).
    * [NH-443] - Added more details to "broken column mapping" message
    * [NH-448] - NHibernate configuration process is now closer to Hibernate:
      - hibernate.properties file corresponds to <nhibernate> section
        in app.config (mapped to NameValueSectionHandler)
      - configuration through hibernate.cfg.xml is supported
      - instead of hibernate.cfg.xml, <hibernate-configuration> section
        in app.config (mapped to NHibernate.Cfg.ConfigurationSectionHandler)
        can also be used.
      - creating a new configuration instance in version 1.0 would cause it
        to read <hibernate-configuration> section immediately. In 1.0.1 this
        was changed so that the section is only read when Configure() is called
    * HashCodeProvider is now merged into NHibernate assembly during build,
      thus it does not have to be distributed along with NHibernate.dll.
 
Build 1.0.0.0
========================
 
Improvements:
 * ITransaction.Commit and Rollback will not wrap exceptions that derive
   from HibernateException into TransactionExceptions, those exceptions
   will instead be propagated untouched.
 * FieldAccessor now includes correct type in PropertyNotFoundException.
 * Oracle9Dialect will now generate a column of type TIMESTAMP(4)
   for date fields mapped as "datetime".
 
Build 0.99.3.0 (1.0-rc3)
========================
 
Bug Fixes:
 * [NH-376] - Expression.In w/ an empty collection causes a SQL exception
 * [NH-382, NH-392] - problems with ADO transactions that plagued previous
   1.0-rcX versions should all be resolved now.
 * [NH-391] - Bug in ReadWriteCache when session is opened with existing
   connection
 * [NH-394] - NullReferenceException in debug print of session objects.
 * [NH-396] - User-provided class names should be trimmed before use
 * [NH-397] - ConfigurationSectionHandler doesn't reads empty properties
 
Improvements:
 * [NH-388] - Support for the "Any", "Meta-Value" tags
 * Added fetch attribute from Hibernate 3 with values "select"/"join".
   fetch="select" is equivalent to outer-join="false", and fetch="join"
   matches outer-join="true".
 
Build 0.99.2.0 (1.0-rc2)
========================
 
Bug Fixes:
 * [NH-377] - Allow whitespace around dialect name in cfg.xml
 * [NH-380] - Error with query after comitted transaction
 * [NH-385] - ADOException thrown instead of StaleObjectStateException when
   updating stale record
 * [NH-386] - Aliases generated for properties with initial underscores should
   NOT begin with an underscore
 * Using Expression.Eq on a many-to-one property now works again (it was broken
   by mistake in 1.0-rc1)
 
Improvements:
 * [NH-329] - If unsaved-value for <id> or <version> is not specified,
   NHibernate will now try to guess it by instantiating an empty object and
   retrieving default property values from it (as Hibernate 3 does it).
 * The documentation has an "installer" to integrate it in VS .NET Help.
 
Build 0.99.1.0 (1.0-rc1)
========================
 
Breaking changes to external API:
- Updated to a newer version of Castle.DynamicProxy.
  WARNING: this new version has the same number (1.1.5.0) as the version used
           by the previous release of NHibernate, but the binaries are in fact
           different and the old 1.1.5.0 will not work with 1.0-rc1.
- NHibernate no longer configures log4net internally. It is now up to the user
  to configure logging.
- Accessing a disposed or closed ISession or ITransaction now causes
  an ObjectDisposedException. HibernateException or TransactionException could
  be thrown in this case before, such cases were also changed to
  throw ObjectDisposedException.
- Renamed SQLExpression to SQLCriterion per Hibernate 2.1. Now, {alias} should
  be used instead of $alias in SQL criteria.
- Unused constructors for some exceptions were removed.
 
Breaking changes to NHibernate extension interfaces:
- Renamed IClassPersister.IsDefaultVersion to IsUnsavedVersion. It now takes
  as argument an array of property values instead of an object.
- Renamed IClassPersister.CurrentVersion to GetCurrentVersion to follow naming
  conventions closer.
- Fixed MatchMode.Start and MatchMode.End for Like expressions, their meanings
  were reversed.
- Dialect.AddIdentitySelectToInsert should now return null if the functionality
  is not supported, instead of throwing an exception.
 
Bug fixes and enhancements:
- Ported almost all remaining Hibernate 2.1 features to NHibernate:
  * subcriteria
  * meta attributes
  * optimistic-lock setting
  * query cache
  * select-before-update
  * batch lazy loading
  * dynamic components
  Missing features are Databinder, ScrollableResults and SchemaUpdate.
- Allow serializing an unflushed session (NH-292, Yves Dierick).
- Check that composite id classes override GetHashCode and Equals.
- Throw QueryException when attempting to fetch multiple collections in
  a query.
- Added a SectionHandler to allow using .cfg.xml syntax to configure NHibernate
  from App.config files. (This was already part of 0.9.1 release but was not
  announced in the release notes.)
- Fixed bug when using joined-subclass with key-many-to-one (NH-369).
- Added IType implementations and constants in NHibernateUtil for unsigned
  integer types.
- Added index attribute for <property>.
- SchemaExport now generates SQL to create an index when index attribute is
  used on <property> or <column>.
- SchemaExport will add an "if exists" clause to "drop table" statement,
  if supported by the dialect.
- Heavy refactoring of the documentation; it now contains the documentation for
  NHibernate Contributions.
- Fixed a bug when generating a TOP clause for MS SQL Server - the whole SQL
  string was being converted to lower case.
 
Build 0.9.1.0
========================
- Fixed bug in limit clause generation on MySQL.
- Fixed bug in Configuration.AddDocument.
- Fixed <version unsaved-value="negative" /> not working with ints or shorts.
- NHibernate now checks whether object identifier passed to its methods is of the right type.
- Fixed bug with YesNo type generating CHAR(255) column, it now generates CHAR(1).
- Implemented hibernate.show_sql feature, logging all SQL executed using NHibernate.SQL logger.
 
Build 0.9.0.0
========================
- Added ISession.Clear().
- Added configurable command timeout property (hibernate.command_timeout).
- Added named SQL query support.
- Allow to specify an isolation level when starting a transaction.
- Upgraded Castle.DynamicProxy library to the latest version (1.1.5).
- Upgraded log4net library to the latest version (1.2.9).
- Fixed bug with Get/Load loading wrong subclasses because of class discriminant not being included in the generated query (Alexander Popov).
- Fixed VersionNegative unsaved-value strategy not to treat 0 as the unsaved value.
- Fixed bug in SchemaExport for a many-to-many relationship, it now generates a table with non-null columns and a primary key.
- Added IncrementGenerator (Mark Holden).
- Fixed bug with <discriminator> insert attribute not being declared in the schema and having a wrong default value.
- Fixed bug in proxy Equals method always either returning true or failing with a NPE.
- Changed LazyInitializer to match Hibernate 2.1, proxies now don't have their own special implementation of Equals and GetHashCode, either System.Object's or the real class methods are used instead.
- Added more naming strategies (lower case, pascal-case underscored).
- Fixed bug with custom access strategy not working for components.
- Allow using structs (value types) as components.
- Added ISession.Replicate().
- Added support for using MS SQL TOP clause for paging (Yves Derrick).
- Added persister attribute for collection mappings.
- Fixed a NPE in Junction.ToString().
- Disabled nullability checks when deleting an object.
- Fixed SchemaExport not to generate duplicate foreign key constraints (this caused problems with Oracle).
- Implemented Copy methods for various ITypes, so that SaveOrUpdateCopy actually works.
- Changed visibility of CollectionEntry class to public to aid XML serializability of collections. It should not be expected to work in all cases since XML serialization has many limitations in .NET.
- Several Oracle-related improvements.
- More informative error message for a bad identifier generation strategy.
- Fixed bug with SchemaExport ignoring foreign-key attribute sometimes.
- Fixed bug with Get/Load not updating the internal nonExists collection of the session (Jerry Shea).
- More informative error message for foreign key problems.
- Throw a more informative exception when attempting to set the value of a non-existent query parameter.
- Do not allow reconnecting a closed session.
- More informative error message when executing ISession.Find("from NonexistentClass").
- Added more information to the exception thrown when expected and actual row counts from a command do not match.
- Remove underscores from the beginning of generated aliases for fields (Oracle cannot handle them).
- Search the current AppDomain's bin directory for hibernate.cfg.xml, in addition to the application directory.
- Added <cache> element as a synonym for <jcs-cache>.
 
Build 0.8.4.0
========================
- Added limited support for storing an enum type using its string representation. See the documentation of EnumStringType and TypesTest\EnumStringTypeFixture.cs for an example.
- Fixed bug with BatcherImpl cached commands being disposed. The caching functionality was removed.
- Fixed bug when property paths were used in criteria queries and caused an exception.
- Modified DB2Dialect, Oracle9Dialect and PostgreSQLDialect to use Int32 for limit and offset parameters.
- Various code clean-ups and commenting.
 
Build 0.8.3.0
========================
- Added name of Property to the PropertyNotFoundException message.
- Fixed bug with <joined-subclass> that has a <property formula="..." />.
- Fixed bug with extra "AND" being added to sql.
- Fixed NullReferenceException that could occur in InstantiationException.
- Improved efficiency of GuidCombGenerator (Marc C. Brooks).
- Modified BinaryType to work with MySql's buggy version of GetBytes().
 
Build 0.8.2.0
========================
- Fixed default value of "unsaved-value" for <version> in xsd.
- Fixed default value of "unsaved-value" for <timestamp> in xsd.
- Modified "proxy" to use "namespace" and "assembly" from <hibernate-mapping>
 
Build 0.8.1.0
========================
- Fixed bug with <version> defaulting to "null" instead of "undefined".
 
Build 0.8.0.0
========================
- Added "namespace" and "assembly" attributes to <hibernate-mapping>.
- Added lazy="true" as short hand for proxy="full type name"
- Added insert attribute to <discriminator>.
- Added ability to set INamingStrategy on Configuration class.
- Added property-ref attribute on <many-to-one> and <one-to-one>.
- Added "foreign-key" attribute to <many-to-one>, <one-to-one>, <many-to-many>, key allowing a different column to be the foreign key target
- Added check attribute to column element.
- Added <sql-query> element.
- Added "unsaved-value" to <version>/<timestamp> as DateTime can't support null, use 1/1/0001 to align with .NET default value for DateTime
- Added SaveOrUpdateCopy() which allows synchronisation for detached objects
- Added Expression.Example for Query By Example.
- Added IDriver and Dialect for Sybase (Steve Corbin).
- Added UniqueResult() to ICriteria and IQuery.
- Added default value of hibernate.connection.driver_class to Dialect so most of the time this configuration is not needed.
- Added SByteType to built in ITypes.
- Fixed <one-to-one> so that two queries are no longer issued when one side is null.
- Fixed bug with ISet.AddAll(ICollection) not being implemented. (Bill Hawes)
- Fixed bug with <set> being initialized from Cache.
- Fixed bug with hql "select new ClassName(...) from ..." where one parameter was an Enum. (Luca Altea)
- Fixed bug in mapping that required type="full.name.of.enum" to be required instead of NH correctly inferring type. (Luca Altea)
- Fixed bug with a decimal <id> and unsaved-value.
- Fixed problem with loading ADO.NET Data Providers from GAC.
- Fixed issue with TableGenerator not disposing of IDbCommand.
- Improved memory consumption of Configuration, smaller footprint and releases objects faster.
- Improved nhibernate-mapping schema to more schema constructs instead of direct dtd port.
- Improved message from NullableType when DataProvider can't cast the database value to .net class.
- Modified <discriminator> to use "null" or "not null" as the value.
- Modified Dialect to use Hibernate 2.1 methods.
- Modified Expression to return ICriterion instead of Expression class. This will break existing code.
- Modified nhibernate-configuration-2.0.xsd to not require <mappings>.
- Modified TestFixtures in NHibernate.Test to only execute create/drop ddl in the TestFixtureSetUp/TestFixtureTearDown.
- Split QueryFunctionStandard into ISQLFunction interface and StandardSQLFunction.
- Upgraded to nant-0.85-rc3 and nunit-2.2.0.
 
Build 0.7.0.0
========================
- Renamed class NHibernate.NHibernate to NHibernate.NHibernateUtil. This will break alot of code if you were using ISession.Find with parameters - migrate to IQuery instead.
- Fixed bug with DateTime type where any value less than 1/1/1753 was written to the database as null. If you were relying on this then the Nullables library in NHibernateContrib is the way to code null values for DateTime properties.
- Added ISession.Get() as an alternative to ISession.Load() (Sergey Koshcheyev).
- Added IDisposable to EnumerableImpl, ISession, ITransaction, IBatcher, and IConnectionProvider.
- Added default value of hibernate.connection.driver_class to Dialects.
- Added default value of hibernate.prepare_sql="false" to MsSql2000Dialect.
- Added [ComVisible(false)] to NHibernate AssemblyInfo.
- Added OracleDataClientDriver for Oracle.DataAccess assembly (James Mills).
- Added IDriver and Dialect for SQLite (Ioan Bizau).
- Fixed messages in exceptions from GetGetter and GetSetter in BasicPropertyAccessor and NoSetterAccessor.
- Fixed problem of LazyInitializationException losing InnerException.
- Fixed problem of Collections not always getting cached.
- Fixed Id.TableGenerator so it works with Oracle.
- Fixed problem with SequenceHiLoGenerator and converting to Int64 (Yves Dierick).
- Fixed problem of some NHibernate Exceptions not being serializable.
- Improved documentation in IQuery to explain how SetMaxResult is working.
- Improved messages in Exceptions thrown by ISetter.
- Improved messages in Exceptions for Persisters with problems parsing discriminator values.
- Improved Configuration.AddAssembly() to process hbm.xml files with subclass/joined-subclass files using "extends" in correct order (Mark Traudt). Also added overload of AddAssembly(Assembly,bool) that can be used to skip ordering.
- Many internal cleanups from FxCop reccommendations.
- Modified ISession.Lock() to allow reassociating transient instances like hibernate 2.1 (Sergey Koshcheyev).
- Modified Exception thrown by Preparer when the IDbCommand.Prepare() method fails to ADOException.
- Modified SqlCommand.Parameter to be immutable.
- Modified how constraints are generated to work with MySql 4.1 (Bill Hawes).
- Modified Dialect to throw an ArgumentException when an unsupported DbType is used.
- Modified constructors on NHibernate Collections to be internal instead of public.
- Renamed Transaction to AdoTransaction.
 
Build 0.6.0.0
========================
- Added support for proxy="" on classes. proxy="" must either specify an Interface or the properties that need to be proxied have to be virtual.
- Added a configuration parameter "hibernate.prepare_sql" to turn on or off calls to IDbCommand.Prepare().
- Added NHibernate Type for System.SByte. (Sergey Koshcheyev)
- Added support for mapping subclasses and joined-subclasses in different files through addition of extends attribute. (Andrew Mayorov)
- Added support for LIMIT to MySQLDialect. (Sergey Koshcheyev)
- Improved error messages when IDbCommand and IDbConnection can't be found by the IDriver.
- Improved error message when mapped class is missing a constructor with no args.
- Fixed problem with spaces in sql generated from hql and MySql.
- Fixed bug with Configuration when there is a class without a namespace.
- Fixed bug with Sql generated for an IN clause that contains a class/subclass with a discriminator-value="null".
- Fixed potential threading problem with QueryTranslator.
- Modified logging in Transaction to not generate as many messages.
- Modified how exceptions are rethrown so call stack of original exception is not lost.
- Moved NHibernate.Tasks and NHibernate.Tool.hbm2net to the NHibernateContrib package.
- Removed DbType {get;} from IUserType.
 
Build 0.5.0.0
========================
- Added Iesi.Collections Library that contains an ISet. Code was taken from http://www.codeproject.com/csharp/sets.asp.
- Fixed hbm2net problem with spaces in arguments. (Kevin Williams)
- Added a NHibernateContrib project that contains Nullable Types for .net 1.1 designed for WinForm Databinding. (Donald Mull)
- Added DB2Driver and DB2Dialect to core of NHibernate. (Martijn Boland)
- Fixed IQuery.SetParameter() when the value is an Enum
- Updated to latest MySql Data Provider and changed classes to MySqlDataDriver. Removed binaries from CVS since they are GPL now.
- Isolated test and classes that use DbType.Time into their own fixtures. Data Drivers don't implement this consistently.
- Fixed problem where HQL was not parsing Enums correctly. (Peter Smulovics)
- Fixed Int16 not working as a <version> Property.
- Added CLSCompliantAttribute(true) attribute to NHibernate and Iesi.Collections.
- Fixed how Exceptions are rethrown to not lose the stack trace.
- Added more comments around ISession.Find and ISession.Enumerate to explain Cache usage.
- Fixed bug with dynamic-update generating SQL for all properties. (Sergey Koshcheyev)
- Add Clover.NET into NHibernate build process thanks to license donated by Cenqua (www.cenqua.com).
- Modified TableGenerator to default first id to "1" instead of "0" to work better with unsaved-value. (Karl Andersson)
 
Alpha Build 0.4.0.0
========================
- Started work on documentation.
- Improved Cache to use pluggable CacheProviders like Hibernate 2.1. (Kevin Williams)
- Removed properties UseScrollableResults, BatchSize, and FetchSize - not applicable to ADO.NET.
- Fixed problem with object not getting removed from Cache when Evicted from Session.
- Added to MySqlDialect a mapping from DbType.Guid to varchar(40) for schema-export. (Thomas Kock)
- Added lowercase-underscore naming strategy. (Corey Behrends)
- Fixed bug with access="field" and no type="" attribute causing Exception in ReflectHelper.
- Removed IVersionType implementation from TimeType and DateType.
- Moved Eg namespace from NHibernate core to NHibernate.Eg project.
- Added guid.comb id generator. (Donald Mull)
- Added ability to configure with a cfg.xml embedded as a resource in an assembly (Thomas Kock)
- Fixed PostgreSQLDialect binding of Limit Parameters. (Martijn Boland)
- Began restructure of lib folder to support net-1.0, net-1.1, net-2.0, and mono-1.0 in build. Still only 'officially' supports net-1.1.
 
Alpha Build 0.3.0.0
========================
- Removed property AdoTransaction from Transaction.
- Added MsSql7Dialect.
- Added PostgreSQL Driver and Dialect (Oliver Weichhold & Martijn Boland).
- Fixed bug with Expression.Ge() not returning correct Expression.
- PersistentCollection now implements ICollection (Donald Mull).
- BatcherImpl and PreparerImpl were combined and code cleaned up thanks to problems found when using Ngpsql (Martijn Boland).
- ITransaction is now responsible for joining IDbCommand to IDbTransaction instead of IBatcher - if applicable.
- Modified code to help improve performance of Drivers that don't support multiple Open DataReaders on a single IDbConnection.
- Fixed bug with hbm2net and VelocityRenderer throwing Exception (Carlos Guzmán Álvarez & Peter Smulovics).
- Clean up of hbm2net (Peter Smulovics).
- Modified internals of AbstractEntityPersister to help with buiding on Mono (Oliver Weichhold).
- Renamed nhibernate.build to NHibernate.build to help with building on Mono (Oliver Weichhold).
- Removed Dialect.GetLimitString(string) should use Dialect.GetLimitString(SqlString) instead.
- SqlStringBuilders were modified to set an initial capacity for the ArrayList.
- Added properties to SqlString to help with SqlStringBuilders and Hql.
- Marked Exceptions as [Serializable].
- Fixed bug with Hql not being able to use a constant in an imported or mapped Class.
- DateTimeType.DeepCopyNotNull() cleaned up (Mark Traudt).
- Added VersionProperty to IClassMetadata.
- Renamed PrimitiveType to ValueTypeType to be more .net style consistent and fixed them up so they inherit from the appropriate class.
- Fixed bug with caching an ObjectType.
- Much code cleaned up for FxCop (Peter Smulovics).
- Fixed bug with <bag lazy="true">, doing an Add, and then a Flush() resulting in the entity in there twice.
 
Alpha Build 0.2.0.0
========================
- Removed support for <dynabean> mapping since it doesn't exist in .net.
- Fixed bug in nhibernate.build file when not signing NHibernate.dll.
- Fixed bug with Hql and SetParameter() where there were 2 parameters with same name.
- Fixed bug with Hql and "IN (:namedParam)".
- Fixed bug with Hql and multi column IType.
- Fixed bug with Hql and scalar queries
- Fixed bug with NullReferenceException and TypeType class.
- ISession.Filter() is now working.
- Compiled Queries and Filters are now cached.
- Refactored Hql to use a SqlString instead of string containing sql.
- Dialect has had public API changed because of Sql to SqlCommand refactoring.
- IPreparer has had methods removed from public API.
- type="System.Object" no longer matches to SerializableType - instead it matches to ObjectType. Use type="Serializable" instead.
- Added "access" attribute for NHibernate to get to fields and properties with no setters. See NHibernate.Property.PropertyAccessorFactory for all valid value types and how to plug in your own implementation of IPropertyAccessor.
- Added Types to read BLOB/CLOB columns to a byte[]/string Property.
- Modified Expression.Sql() to require use of SqlString if parameters are used.
- TypeFactory was modified to allow the attribute "type" to be the Assembly Qualified Name, Full Name, NHibernate IType.Name, or Hibernate name to help with porting hibernate hbm.xml files and Net2Hbm that John is writing.
- hibernate.connection.isolation configuration now affects the IDbTransaction's IsolationLevel, it is parsed as the name value of the IsolationLevel enum - "Chaos", "ReadCommitted", "ReadUncommitted", "RepeatableRead", "Serializable", and "Unspecified".
- ICriteria.SetMaxResults() is now working.
- IQuery.SetMaxResults().Enumerable() is now working.
- Modifed Test Fixtures to help isolate problems caused by DataProviders.
 
PreAlpha Build 0.1.0.0
========================
- NHibernate and HashCodeProvider are now strong named assemblies. The key used to sign the assemblies is not in CVS.
- Many more Tests implemented.
- Added Examples into CVS and zip.
- ConnectionProvider uses settings passed to it by ConnectionProviderFactory instead of default settings.
- Hbm2Net moved from NHibernate folder to its own folder and NAnt Tasks for it contributed by Kevin Williams.
- Adding properties to Cfg instead of using app.config/web.config or cfg.xml now supported.
- In cfg.xml, an assembly where the resource can be found is now needed - ie: <mapping resource="" assembly="" />.
- nhibernate-configuration-2.0.xsd schema was updated to .net friendly names and all cfg.xml files are now validated.
- Fixed bug with classes having dynamic-insert and dynamic-update causing IndexOutOfRangeExceptions.
- Modified length of string for CultureInfoType.
- Added Firebird fixes contributed by Carlos Guzmán Álvarez.
- Changed TimestampType.Set to behaive like hibernate. Will not write a null value anymore - instead replaces it with DateTime.Now.
- Removed IVersionType interface from DecimalType.
- Add PropertyExpressions contributed by Carlos Guzmán Álvarez.
- Fixed bug with referencing joined classes properties in hql.
- Fixed IndexOutOfRangeException with NormalizedEntityPersister for versioned entities.
- Added ObjectType to TypeFactory and NHibernate.
- Fixed problem with hql subselects referencing a class in main query.
- Limited support for Serializing a Session. Sometimes a Refresh() is needed after Deserialization.
- Fixed bug with sending a one-to-many collection to be updated that involves inserting a new row.
 
PreAlpha Build 6
========================
- Fixed Configuration so app.config/web.config behaives like hibernate.properties and a hibernate.cfg.xml. Settings in app.confg/web.config are no longer required if a cfg.xml file is used.
- Dialects now set default values for outer joins.
- Fixed bug in ArrayHolder with null elements.
- Added IDisposable to ISession
- Fixed bug with lazy loaded SortedSet during Flush().
- Fixed problem with Loading using LockModes because of missing columns with Forumlas.
- Added SetAnsiString to IQuery
- Fixed bug with IDbCommands used in a Session that is Disconnected and Reconnected not being associated with the correct IDbTransaction.
- Driver can disable calls to IDbCommand.Prepare() for Data Providers that don't support it.
- Removed requirement to set length with type attribute - ie, can use type="String" instead of type="String(50)".
- schema-export now functions just like it does with hibernate 2.0.3
- Converting a SqlString to an IDbCommand is now a Driver specific function because different Driver's have different requirements for IDbCommands.
- Added HashCodeProvider.dll to remove problems with RuntimeHelpers.GetHashCode causing MissingMethodException with App Domain reloading with ASP.NET and NUnit.
 
PreAlpha Build 5
========================
- Added check in Configuration for 1.1 version of runtime.
- Removed reference in NHibernate.csproj to nunit.framework.dll.
- Fixed update="true" when values different than insert attribute.
- Enumerable with HQL now works with multiple results.
- Fixed NullReferenceException in EvictCollections.
- Fixed bug with lazy loaded sorted collections not loading correctly.
- Fixed problem with cascading deletes causing OutOfMemoryException.
- Implemented more TestFixtures.
 
PreAlpha Build 4
========================
- Implemented most DomainModel classes and hbms for testing
- Implemented more TestFixtures (both migrated and new)
- Added Oracle Dialects and Drivers (thanks to feilng for contributing those!)
- Modified classes in Type namespace to support reading values from Oracle Driver
- Added DotNetMock.dll to NHibernate.Test assembly to help with testing Type namesapce
- Fixed parameter parsing so both Named Params (:name) and ? can be used in HQL
- Fixed problem with joins in HQL
- Fixed problem with <set>, <map>, and <bag> where lazy="true"
- Fixed problem with <idbag> being bound to a Bag instead of IdentifierBag
- Fixed problem with CollectionPersister.WriteRowSelect and IdentifierBags
- Fixed problem with <array> when a null value was in the array
- Fixed problem with sending an unneeded Update before a Delete
- Fixed problem with null aliases and Parameter.Equals()
- Cleaned up HQL parsing so it internally throws fewer exceptions
- ConnectionProvider's now provide internal IDbConnection cache like h2.0.3 - not on by default
- Fixed problem with StringHelper.Replace being passed a null template
- <property forumla="some sql forumla" ... /> is now supported
- <class dynamic-insert="true"> is now supported
- read only <property> and a read-write <property> can now refer to the same column without problems.
- changed value of Dialect.SupportForUpdateOf to false, like h2.0.3 has it
- Id generation strategies that use TableGenerator now work for all Drivers
- Modified IdentityMap to use SequencedHashMap instead of ListDictionary (thanks to feling for finding the performance problems that ListDictionary was causing)
- Fixed problem with Expresion.Juction.GetTypedValues() not returning correct TypedValue[]
 
 
PreAlpha Build 3
========================
- Synched Cache Namespace with cache package in H2.0.3
- Synched CollectionPersister with H2.0.3
- Synched Config Namespace with config package in H2.0.3.
- Synched Cascade strategies with H2.0.3
- Synched Dialect Namespace with dialect package in H2.0.3
- Started HQL Namespace synch with hql package in H2.0.3. There are still some issues in there.
- Synched Id Namespace with id package in H2.0.3
- Synched Mapping namespace with mapping package in H2.0.3.
- Added ForUpdateFragment
- hbm2net created.
- Added AnsiStringType.
- Added GuidType.
- Fixed problem with IdentityMap that caused <set lazy="true"> to not work.
- Added support for <bag> and <id-bag> mappings.
- Implemented sorted collections.
- Build files rewritten.
- MsSql Dialect now issues one statement to Insert and retrieve identity value.
- Fixed a bug with <generator class="sequence">
- Implemented SqlExpression for Criteria queries.
- Initial fix of Multiple IDataReaders being opened with Entities that contain <component> mappings.
- Fixed problems with Alias and Ms Sql Server.
 
PreAlpha Build 2
========================
- Continued to synchronize NHibernate with Hibernate 2.0.3's features.
- Modifed BooleanType to use GetBoolean instead of GetByte
- Modified MsSqlServer2000Dialect to maps a BooleanSqlType to a bit column type.
- Fixed bug with IdentityMap that caused problems with Session.Flush() loading lazy collections
- Added TicksType to TypeFactory
- Fixed bug with SchemaExport committing a non existing IDbTransaction
 
from: https://github.com/nhibernate/nhibernate-core/blob/4.0.0.Alpha1/releasenotes.txt

你可能感兴趣的:(change)