Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

1742 lines (1530 sloc) 101.896 kb
Build 3.0.0.Alpha1
=============================
** Known BREAKING CHANGES from NH2.1.1.GA to NH3.0.0.Alpha1
##### Run time #####
* (NH-2199) - null values in maps/dictionaries are no longer silenty ignored/deleted
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 )
##### 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
Jump to Line
Something went wrong with that request. Please try again.