This content has been marked as final.
Show 4 replies
-
1. Re: int type in Revision number
adamw Aug 29, 2011 7:34 AM (in response to drsaturno)1 of 1 people found this helpfulFirst of all, I think it should be a long, please create a JIRA for that.
Detecting the the id will overflow would be a nice feature, but I costing quite a lot of effort to implement and giving no real gains.
Adam
-
2. Re: int type in Revision number
drsaturno Aug 29, 2011 10:30 AM (in response to adamw)OK, I will create a JIRA.
No warnings at all could be dangerous. In a overflow all the audit will stop working (envers based the version recoverry in an always increasing REV value, right?). In a very worst scenario, after a long time loosing audit, a primary key violation will happen.
-
-
4. Re: int type in Revision number
adamw Aug 30, 2011 10:57 AM (in response to drsaturno)And if you overflow a Hibernate auto-generated key, do you get a warning?
Thanks for the JIRA.
Adam