code: @Override
  	public int getVersion(final Object iPojo) {
  		checkOpeness();
  		final ODocument record = getRecordByUserObject(iPojo, false);
  		if (record != null)
  			return record.getVersion();
  
  		return OObjectSerializerHelper.getObjectVersion(iPojo);
  	}
docs: Returns the version number of the object. Version starts from 0 assigned on creation.
  
  @param iPojo
  User object