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:
@@ -189,7 +189,6 @@ public abstract class AbstractAVMNodeDAOImpl implements AVMNodeDAO
|
||||
{
|
||||
throw new ConcurrencyFailureException("AVMNode with ID (" + nodeEntity.getId() + ") no longer exists or has been updated concurrently");
|
||||
}
|
||||
nodeEntity.setVers(nodeEntity.getVers()+1);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -209,7 +208,6 @@ public abstract class AbstractAVMNodeDAOImpl implements AVMNodeDAO
|
||||
{
|
||||
throw new ConcurrencyFailureException("AVMNode with ID (" + nodeEntity.getId() + ") no longer exists or has been updated concurrently");
|
||||
}
|
||||
nodeEntity.setVers(nodeEntity.getVers()+1);
|
||||
|
||||
// update cache
|
||||
avmNodeCache.removeByKey(nodeEntity.getId());
|
||||
@@ -232,7 +230,6 @@ public abstract class AbstractAVMNodeDAOImpl implements AVMNodeDAO
|
||||
{
|
||||
throw new ConcurrencyFailureException("AVMNode with ID (" + nodeEntity.getId() + ") no longer exists or has been updated concurrently");
|
||||
}
|
||||
nodeEntity.setVers(nodeEntity.getVers()+1);
|
||||
|
||||
// update cache
|
||||
avmNodeCache.removeByKey(nodeEntity.getId());
|
||||
|
Reference in New Issue
Block a user