Plus side, tangentially, we have an IUserType handling the pg domain numeric(20, 0) at any rate.
On Monday, June 16, 2025 at 8:30:38 PM UTC-4 Michael W Powell wrote: > Some updated observations leading me to believe that somehow possibly > cached instances are not being handled properly as would-be orphans. > > https://github.com/nhibernate/fluent-nhibernate/discussions/750 > > That is, our internal logistics via ObservableCollection<T> are doing the > right thing by removing the instance from the source NH provided > collection, and nullifying the parent relationship correctly, at least as > far as domain models are concerned. > > But when we turn around and signal SaveOrUpdate(...) to the session, we > are finding the errors (see github discussion). > > So... is our recourse to run without cache, and do the delete > reconciliation manually? This was the same with EF. Or if there is a better > way of handling it that it just flows naturally with the ORM, we are open > to learning about it. > > Best... > > On Sunday, June 15, 2025 at 5:50:38 PM UTC-4 Michael W Powell wrote: > >> Hello, >> >> Would someone mind addressing this question? Basically just needing to >> know how string NH is at dealing with the dirty collection reconciliation >> process; adding, updating, and especially deleting child instances, as >> appropriate. >> >> https://github.com/nhibernate/fluent-nhibernate/discussions/750 >> >> Or the SO, either way. >> >> >> https://stackoverflow.com/questions/79666373/nhibernate-saving-dirty-collections >> >> Thanks! >> >> Best regards, >> >> Michael W. Powell >> > -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/fluent-nhibernate/ac4164b9-6768-4d1c-804e-85512b21a3e7n%40googlegroups.com.
