Exposed icon indicating copy to clipboard operation
Exposed copied to clipboard

Auditing table

Open aluismarte opened this issue 6 years ago • 5 comments

Exposed is a fantastic ORM, but need something like ENVERS, is someone working on?

aluismarte avatar May 18 '18 14:05 aluismarte

Did you talk about http://hibernate.org/orm/envers/ ?

Tapac avatar Aug 26 '18 15:08 Tapac

Yes

aluismarte avatar Aug 26 '18 16:08 aluismarte

@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.

dsidharta avatar Feb 18 '22 18:02 dsidharta

Bumping, any updates? Do we have an official way of auditing the tables?

patryksz avatar Jul 06 '22 12:07 patryksz