|
The DefaultRevisionEntity class has an int-type for the id field. ints can hold a maximum of 2.1 billion, which would not be a big deal except for the fact that Envers also uses the shared HIBERNATE_SEQUENCE generator. In a database with a lot of activity, the value in the sequence can easily exceed this this maximum value.
DefaultRevisionEntity should really use a Long type to hold this value instead.
|