You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.
Because this implementation is cited as an example across the internet. I feel it's important to point out a data corrupting bug in this generic implementation.
NullSafeSet needs to get called on each composite property with null when value is null.
If you don't and you have a batch save of objects with said composite type, any null value property will get be updated in the DB with the last nonnull value saved
Because this implementation is cited as an example across the internet. I feel it's important to point out a data corrupting bug in this generic implementation.
NullSafeSet
needs to get called on each composite property with null whenvalue
is null.If you don't and you have a batch save of objects with said composite type, any null value property will get be updated in the DB with the last nonnull value saved
ncommon/NCommon.NHibernate/src/CompositeUserTypeBase.cs
Lines 149 to 162 in 597f4ef
The text was updated successfully, but these errors were encountered: