mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
I think this fixes the race under load that I discovered. More testing is
needed. Once again this will require a new database as I've changed the AVM schema back. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4693 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -37,11 +37,6 @@ public class ChildEntryImpl implements ChildEntry, Serializable
|
||||
*/
|
||||
private AVMNode fChild;
|
||||
|
||||
/**
|
||||
* Version for optimistic locking.
|
||||
*/
|
||||
private long fVers;
|
||||
|
||||
/**
|
||||
* Default constructor for Hibernate.
|
||||
*/
|
||||
@@ -126,20 +121,4 @@ public class ChildEntryImpl implements ChildEntry, Serializable
|
||||
{
|
||||
return fKey.hashCode();
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter.
|
||||
*/
|
||||
public void setVers(long vers)
|
||||
{
|
||||
fVers = vers;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter.
|
||||
*/
|
||||
public long getVers()
|
||||
{
|
||||
return fVers;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user