JHipster provides a configuration for autiting the entities (in particular for the User).
In the .Net world, the project Audit.Net and the module Audit.EntityFramework looks close to what Spring Data proposes.
So far, I don't find an out of the box solution to mimic the @CreatedBy, @CreatedDate, @LastModifiedBy and @LastModifiedDate Spring annotations.
A lead would be to decorate the DatabaseContext to inject the values before the data is persisted.
JHipster provides a configuration for autiting the entities (in particular for the
User
). In the .Net world, the project Audit.Net and the module Audit.EntityFramework looks close to what Spring Data proposes.So far, I don't find an out of the box solution to mimic the
@CreatedBy
,@CreatedDate
,@LastModifiedBy
and@LastModifiedDate
Spring annotations.A lead would be to decorate the
DatabaseContext
to inject the values before the data is persisted.