code: protected Object convertParameter(final Object iParameter) {
  		if (iParameter != null)
  			// FILTER PARAMETERS
  			if (iParameter instanceof Map<?, ?>) {
  				Map<String, Object> map = (Map<String, Object>) iParameter;
  
  				for (Entry<String, Object> e : map.entrySet()) {
  					map.put(e.getKey(), convertParameter(e.getValue()));
  				}
  
  			} else if (iParameter != null && !OType.isSimpleType(iParameter)) {
  				final ORID rid = getIdentity(iParameter);
  				if (rid != null && rid.isValid())
  					// REPLACE OBJECT INSTANCE WITH ITS RECORD ID
  					return rid;
  			}
  
  		return iParameter;
  	}
docs: Convert a parameter: if a POJO is used, then replace it with its record id.
  
  @param iParameter
  Parameter to convert, if applicable
  @see #convertParameters(Object...)