Skip to content

Commit

Permalink
Support core-224
Browse files Browse the repository at this point in the history
  • Loading branch information
andyjefferson committed May 28, 2017
1 parent 1f23afb commit d353f77
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -208,7 +208,7 @@ public void insertObject(final ObjectProvider op)
}
}

Object nextVersion = ec.getNextVersion(vermd, null);
Object nextVersion = ec.getLockManager().getNextVersion(vermd, null);
op.setTransactionalVersion(nextVersion);
if (nextVersion instanceof Long)
{
Expand Down Expand Up @@ -289,7 +289,7 @@ public void updateObject(final ObjectProvider op, int[] fieldNumbers)
}

// Version object so calculate version to store with
nextVersion = ec.getNextVersion(vermd, currentVersion);
nextVersion = ec.getLockManager().getNextVersion(vermd, currentVersion);
if (vermd.getFieldName() != null)
{
// Version field
Expand Down

0 comments on commit d353f77

Please sign in to comment.