Hello,
For a project I need to record every change in a table. So Envers seems perfect.
But tables must satisfy a peculiar requirement. All columns of a table must start with a trigram. And of course this trigram is different for every table, otherwise it would have been to simple...
Is it possible to customize columns name of the generated tables ?
Example :
Audited table :
Code:
+------------------+
| TABLE |
+------------------+
| TAB_COLUM_ONE |
| TAB_COLUMN_TWO |
| TAB_COLUMN_THREE |
+------------------+
Audit table :
Code:
+------------------+
| TABLE_HISTORY |
+------------------+
| TAH_COLUM_ONE |
| TAH_COLUMN_TWO |
| TAH_COLUMN_THREE |
| TAH_REV |
| TAH_REVTYPE |
+------------------+
Thanks,
ForTeX