|
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
|
34 | 34 | 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. |
35 | 41 | * Transaction scopes handling has undergone a major rework. See NH-4011 for full details.
|
36 | 42 | ** More transaction promotion to distributed may occur if you use the "flush on commit" feature with
|
37 | 43 | transaction scopes. Explicitly flush your session instead. Ensure it does not occur by disabling
|
|
89 | 95 | * Firebird: timestamp resolution is now 1ms.
|
90 | 96 | * PostgreSQL: if Npgsql v3 or later is used, time DbParameters will be fetched as TimeSpan instead of
|
91 | 97 | 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. |
92 | 102 | * ODBC: String parameter length will no more be specified by the OdbcDriver.
|
93 | 103 |
|
94 | 104 | ** Sub-task
|
|
151 | 161 | * [NH-4083] - ODBC nvarchar parameter corruption
|
152 | 162 | * [NH-4084] - DbTimestamp cause stale update exception
|
153 | 163 | * [NH-4086] - TimeType may lose fractional seconds
|
| 164 | + * [NH-4088] - Dialect.GetCastTypeName is buggy |
154 | 165 |
|
155 | 166 | ** New Feature
|
156 | 167 | * [NH-1530] - Add support for XmlDocType and XDocType for Oracle
|
|
0 commit comments