Hi everyone

I hope that someone maintaining Envers could help me.

Because DefaultRevisionEntity id is only a “int id” it becomes a int4 in Postgresql. I want this to be a “Long id” which would make it an int8 in Postgresql which is more suitable for entities seing a lot of changes.

I have tried to create a custom class as suggested here:

The problem is that now my “org.hibernate.envers.track_entities_changed_in_revision: true” and “org.hibernate.envers.global_with_modified_flag: true” are ignored.

It looks like the problem lies within RevisionInfoConfiguration around line 356 where “DefaultTrackingModifiedEntitiesRevisionEntity.class.isAssignableFrom( revisionInfoClass )” is evaluated.


Anyone know how to overcome this problem ?

Best regards