Skip to content

Allow customization of @RevisionTimestamp property name #2850

@rpost

Description

@rpost

Why did you hardcode "timestamp" as revision property in org.springframework.data.envers.repository.support.EnversRevisionRepositoryImpl#findLastChangeRevision ?

My custom revision entity has different @RevisionTimestamp property than timestamp.

This results in org.hibernate.QueryException: could not resolve property: timestamp of:... when org.springframework.data.repository.history.RevisionRepository#findLastChangeRevision is called.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions