code: @Override
  	public void registerUserObject(final Object iObject, final ORecordInternal<?> iRecord) {
  		if (!(iRecord instanceof ODocument))
  			return;
  
  		final ODocument doc = (ODocument) iRecord;
  
  		if (retainObjects) {
  
  			final ORID rid = iRecord.getIdentity();
  			if (rid.isValid())
  				rid2Records.put(rid, doc);
  		}
  	}
docs: Register a new POJO