|
20 | 20 | Prior to upgrading, fix any obsolete warning according to its message. See NH-4075 and NH-3684 for a list. |
21 | 21 |
|
22 | 22 | ##### Possible Breaking Changes ##### |
23 | | - * All members exposing some System.Data types have been changed for corresponding System.Data.Common |
| 23 | + * All members exposing some System.Data types have been changed for the corresponding System.Data.Common |
24 | 24 | types. (IDbCommand => DbCommand, ...) |
25 | 25 | * The Date NHibernate type will no more replace by null values below its base value (which was year 1753). |
26 | 26 | Its base value is now DateTime.MinValue. Its configuration parameter is obsolete. |
27 | 27 | * NHibernate type DateTimeType, which is the default for a .Net DateTime, does no longer cut fractional |
28 | 28 | seconds. Use DateTimeNoMsType if you wish to have fractional seconds cut. It applies to its Local/Utc |
29 | 29 | counterparts too. |
30 | | - * LocalDateTimeType and UtcDateTimeType do no more accept being set with value having a non-matching kind, |
| 30 | + * LocalDateTimeType and UtcDateTimeType do no more accept being set with a value having a non-matching kind, |
31 | 31 | they throw instead. |
32 | 32 | * DbTimestamp will now round the retrieved value according to Dialect.TimestampResolutionInTicks. |
33 | 33 | * When an object typed property is mapped to a NHibernate timestamp, setting an invalid object in the |
|
38 | 38 | transaction.use_connection_on_system_events setting. |
39 | 39 | ** After transaction events no more allow using the connection when they are raised from a scope |
40 | 40 | completion. |
41 | | - ** Connection enlistment in ambient transaction is now enforced by NHibernate by default. |
| 41 | + ** Connection enlistment in an ambient transaction is now enforced by NHibernate by default. |
42 | 42 | ** The connection releasing is no more directly triggered by a scope completion, but by later |
43 | 43 | interactions with the session. |
44 | 44 | * AdoNetWithDistributedTransactionFactory has been renamed AdoNetWithSystemTransactionFactory. |
|
53 | 53 | extension methods. |
54 | 54 | * Linq provider now use Remotion.Linq v2, which may break Linq provider extensions, mainly due to names |
55 | 55 | changes. See https://github.com/nhibernate/nhibernate-core/pull/568 changes to test files for examples. |
56 | | - * NHibernate Linq internals have undergone some minor changes which may breaks custom Linq providers due |
| 56 | + * NHibernate Linq internals have undergone some minor changes which may break custom Linq providers due |
57 | 57 | to method signature changes and additional methods to implement. |
58 | 58 | * IMapping interface has an additional Dialect member. ISessionFactoryImplementor has lost it, since it |
59 | 59 | gains it back through IMapping. |
|
75 | 75 | * Sessions concrete classes constructors have been changed. (It is not expected for them to be used |
76 | 76 | directly.) |
77 | 77 | * Obsolete setting interceptors.beforetransactioncompletion_ignore_exceptions is dropped. |
78 | | - * SQL Server 2008+ dialects now use datetime2 instead of datetime for all date time types, including |
| 78 | + * SQL Server 2008+ dialects now use datetime2 instead of datetime for all date-time types, including |
79 | 79 | timestamp. This can be reverted with sql_types.keep_datetime setting. |
80 | 80 | * SQL Server 2008+ timestamp resolution is now 100ns in accordance with datetime2 capabilities, down from |
81 | 81 | 10ms previously. This can be reverted with sql_types.keep_datetime setting. |
|
87 | 87 | control DbCommand parameters typing accordingly. See NH-4062. |
88 | 88 | * SqlServerCe: the id generator "native" will now resolve as table-hilo instead of identity. |
89 | 89 | * Firebird: timestamp resolution is now 1ms. |
90 | | - * PostgreSQL: if Npgsql v3 or later is used, time DbParameters will be fetch with TimeSpan instead of |
| 90 | + * PostgreSQL: if Npgsql v3 or later is used, time DbParameters will be fetched as TimeSpan instead of |
91 | 91 | DateTime. |
92 | 92 | * ODBC: String parameter length will no more be specified by the OdbcDriver. |
93 | 93 |
|
|
0 commit comments