Exposed
Exposed copied to clipboard
Auditing table
Exposed is a fantastic ORM, but need something like ENVERS, is someone working on?
Did you talk about http://hibernate.org/orm/envers/ ?
Yes
@aluismarte: Were you able to find a solution to your auditing needs?
Another way that I thought would make auditing possible is if a copy of writeValues
(here) is made available to registerChange()
(here). That way, we can listen to the EntityChangeType.Updated
event (example here) and store an audit record accordingly. Currently writeValues
is cleared by the time the subscriber's hook gets executed for that event.
Any thoughts from the contributors on how to create an audit record using Exposed? If nothing else, I can use DB triggers.
Bumping, any updates? Do we have an official way of auditing the tables?