mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
AVM DAO - add rollover for avm_store/avm_node "vers" col
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16992 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -373,6 +373,18 @@ public class AVMNodeEntity
|
||||
this.vers = vers;
|
||||
}
|
||||
|
||||
public void incrementVers()
|
||||
{
|
||||
if (this.vers >= Long.MAX_VALUE)
|
||||
{
|
||||
this.vers = 0L;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.vers++;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode()
|
||||
{
|
||||
|
Reference in New Issue
Block a user