The "strongly typed updates" is the LINQ implementation of NHibernate's HQL
DML, and one of its main purposes is to circumvent the "entity handling"
and instead let the database handle the updates. In theory, Envers could
augment the generated SQL, so that it spools auditing data into its own
tables, using e.g triggers or OUTPUT statements, but that's certainly
nontrivial.

/G

2017-10-23 9:41 GMT+02:00 Roger Kratz <[email protected]>:

> NHbernate Envers relies on event listeners. I don’t know how strongly
> typed updates works, but I guess they don’t use these listeners (?). Most
> probably they can’t because the code doesn’t know what data will be updated.
>
>
>
> Someone with better understanding of “strongly typed updates” could maybe
> explain this better than me.
>
>
>
> Regards
>
> /Roger
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *?????? ??????
> *Sent:* den 21 oktober 2017 21:31
> *To:* nhusers <[email protected]>
> *Subject:* [nhusers] NH-3488 - Strongly typed Inserts, Updates and
> Deletes vs NHibernate Envers
>
>
>
> Have I any chance to get Envers support for Strongly typed Updates?
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/nhusers
> <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fgroup%2Fnhusers&data=02%7C01%7Croger.kratz%40teleopti.com%7C9c7073edd6804c77e2cf08d518bb6b30%7C449a67e94f234e758bccf32dd77cefe0%7C0%7C0%7C636442115592038123&sdata=eRMATNOFh81O%2B9J17VuJYVQ1Yn83HLVHHU%2Bmv8ITeHE%3D&reserved=0>
> .
> For more options, visit https://groups.google.com/d/optout
> <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Croger.kratz%40teleopti.com%7C9c7073edd6804c77e2cf08d518bb6b30%7C449a67e94f234e758bccf32dd77cefe0%7C0%7C0%7C636442115592038123&sdata=LdTHv1PwaoK5kI%2FLcEdjM%2FE8SDH3PDv2dGnlPVlrPI8%3D&reserved=0>
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/nhusers.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to