Skip to content

Conversation

Chaedie
Copy link
Contributor

@Chaedie Chaedie commented Sep 3, 2025

Related Issue: #2850

Fixes #2850 by replacing hardcoded "timestamp" property name with dynamic @RevisionTimestamp field detection.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Sep 3, 2025
@mp911de mp911de self-assigned this Sep 8, 2025
@mp911de mp911de added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 8, 2025
@mp911de mp911de changed the title Fix #2850: Allow customization of @RevisionTimestamp property name Allow customization of @RevisionTimestamp property name Sep 16, 2025
@mp911de mp911de added this to the 4.0 RC1 (2025.1.0) milestone Sep 16, 2025
mp911de pushed a commit that referenced this pull request Sep 16, 2025
We now detect the property name annotated with RevisionTimestamp to determine the property name from the model instead of assuming a hard-coded timestamp property.

Signed-off-by: ChaedongIm <[email protected]>

See #2850
Original pull request: #4003
mp911de added a commit that referenced this pull request Sep 16, 2025
Introduce EnversRevisionEntityInformation to reflect envers-specific revision information. Refactor DefaultRevisionEntityInformation to enum to keep a singleton around. Refine tests.

See #2850
Original pull request: #4003
@mp911de
Copy link
Member

mp911de commented Sep 16, 2025

Thank you for your contribution. That's merged and polished now.
Seems you never ran the tests for the change as the build has failed initially.

@mp911de mp911de closed this Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow customization of @RevisionTimestamp property name
3 participants