Skip to content

Commit 9842d3b

Browse files
fixup! NH-4000 - Release notes.
1 parent 17a0d2a commit 9842d3b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

releasenotes.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
* DbTimestamp will now round the retrieved value according to Dialect.TimestampResolutionInTicks.
3333
* When an object typed property is mapped to a NHibernate timestamp, setting an invalid object in the
3434
property will now throw at flush instead of replacing it with DateTime.Now.
35+
* Decimal type registration now correctly handles maximal precision. For most dialects, it is 28, matching
36+
the .Net limit. Values in mappings above maximal precision will be reduced to maximal precision.
37+
* Default cast types do no more resolve string to 255 length and decimal to its default precision/scale for
38+
the dialect. They resolve to 4000 length string and (28, 10) precision/scale decimals by default, and are
39+
trimmed down according to dialect. Those defaults can be overridden with query.default_cast_length,
40+
query.default_cast_precision and query.default_cast_scale settings.
3541
* Transaction scopes handling has undergone a major rework. See NH-4011 for full details.
3642
** More transaction promotion to distributed may occur if you use the "flush on commit" feature with
3743
transaction scopes. Explicitly flush your session instead. Ensure it does not occur by disabling
@@ -89,6 +95,10 @@
8995
* Firebird: timestamp resolution is now 1ms.
9096
* PostgreSQL: if Npgsql v3 or later is used, time DbParameters will be fetched as TimeSpan instead of
9197
DateTime.
98+
* DB2 & Oracle lite: decimal type registration was hardcoding precision as 19 and was using length as
99+
scale. It now uses precision and scale from mapping when specified, and disregards length.
100+
* Ingres & Sybase ASA: decimal type registration was hardcoding precision as 18 and was using length as
101+
scale. It now uses precision and scale from mapping when specified, and disregards length.
92102
* ODBC: String parameter length will no more be specified by the OdbcDriver.
93103

94104
** Sub-task
@@ -151,6 +161,7 @@
151161
* [NH-4083] - ODBC nvarchar parameter corruption
152162
* [NH-4084] - DbTimestamp cause stale update exception
153163
* [NH-4086] - TimeType may lose fractional seconds
164+
* [NH-4088] - Dialect.GetCastTypeName is buggy
154165

155166
** New Feature
156167
* [NH-1530] - Add support for XmlDocType and XDocType for Oracle

0 commit comments

Comments
 (0)