Enable the use of audit tracking on @Formula annotated fields.

Description

Envers currently does not permit the use of @Formula on an audited field. From the Envers perspective, perhaps we could simple store a snapshot of the formula value so that those fields could be supported when audited?

Activity

Show:

Mohammad Mirzaeyan July 3, 2021 at 6:38 AM

it does not depend on parenthesis in the oracle database, and it fails on application startup. 

Chris Cranford June 19, 2017 at 1:08 PM

According to the conversation where this feature originated, https://stackoverflow.com/a/44329415/1572269, there seems to be a requirement that the @Formula annotation's SQL must be wrapped in parenthesis in order for it to work. Probably need to check what audit query this isn't compatible with.

Details

Assignee

Reporter

Components

Priority

Created June 2, 2017 at 12:47 PM
Updated July 3, 2021 at 6:38 AM