convertObjectMapToObjectIdOrLeaveReference static method
Implementation
static Object convertObjectMapToObjectIdOrLeaveReference(Map objectMap) {
if (objectMap.containsKey(UnitOfWork.referenceMarker)) {
objectMap[UnitOfWork.propName] = "objectId";
return objectMap;
}
return objectMap['objectId'];
}