jpa-auditing: Spring Data JPA auditing on Boot 4.1 - @CreatedDate/@LastModifiedBy, AuditorAware with Spring Security, Instant vs LocalDateTime, Envers
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b8789qiV9Fsv2FqZde
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# the row itself (Spring Data auditing): only the latest stamps
|
||||
content=v3 createdBy=alice updatedBy=alice updatedAt=2026-11-17T10:00:00Z
|
||||
|
||||
# the history (Envers): one row per revision
|
||||
rev 1 revision.username=alice content=v1 updatedBy=alice updatedAt=2026-11-17T08:00:00Z
|
||||
rev 2 revision.username=bob content=v2 updatedBy=bob updatedAt=2026-11-17T09:00:00Z
|
||||
rev 3 revision.username=alice content=v3 updatedBy=alice updatedAt=2026-11-17T10:00:00Z
|
||||
Reference in New Issue
Block a user