My envers configuration is:
Now, I have the following entity:
Now, running hibernate creates the following tables:
1. A table `orders` is created with the column (among others)
2. A table `orders_history` is created with the following columns (among others)
But, I think, the name of second column, storing the modification flag, should be `customer_account_id_mod` instead.
So, I think, envers is ignoring the custom column name for the '_mod' fields defined by '@JoinColumn(name = "customer_account_id" ...).
Tested with MySQL, MariaDB, H2