Envers - Change MOD column

Hello everyone,
Is there a way to change the name of the MOD column. I am using Audited with modified flag.
I tried @Audited(modifiedColumnName = "table") but the column name doesn’t change.
I am trying to change company_MOD to companyId_MOD.

You need to set withModifiedFlag to true as well:

@Audited(modifiedColumnName = "table", withModifiedFlag = true)
1 Like