if (buffer == null)
throw new OTransactionException("Can't retrieve the updated record #" + iRid);
// MVCC TRANSACTION: CHECK IF VERSION IS THE SAME
if (iVersion > -1 && buffer.version != iVersion)
throw new OConcurrentModificationException(
"Can't update the record "
+ iRid
+ " because the version is not the latest one. Probably you are updating an old record or it has been modified by another user (db=v"
+ buffer.version + " your=v" + iVersion + ")");