i would like to better understand the behavior of Hibernate Envers.. Here's the problem : (PostgreSQL) I have this:
Person (
id bigint not null,
job character varying(10)
)
plus its "_aud" table Person_AUD
Now, i have to do this change:
ALTER TABLE Person
ADD COLUMN group varchar (10);
And, after that, something like this :
UPDATE TABLE Person
SET group='unemployed'
WHERE job=null;
My questions are: what does Hibernate do to my _aud table when i run the "alter table? And, what does Hibernate do to my_aud table when i run the "update"?
I ask this because i can't try it(i have to do this "manually" using Liquibase so I am asking it to you :) )