docs: @Override
  	public CPDefinitionOptionRel fetchByPrimaryKey(Serializable primaryKey) {
  		Serializable serializable = entityCache.getResult(CPDefinitionOptionRelModelImpl.ENTITY_CACHE_ENABLED,
  				CPDefinitionOptionRelImpl.class, primaryKey);
  
  		if (serializable == nullModel) {
  			return null;
  		}
  
  		CPDefinitionOptionRel cpDefinitionOptionRel = (CPDefinitionOptionRel)serializable;
  
  		if (cpDefinitionOptionRel == null) {
  			Session session = null;
  
  			try {
  				session = openSession();
  
  				cpDefinitionOptionRel = (CPDefinitionOptionRel)session.get(CPDefinitionOptionRelImpl.class,
  						primaryKey);
  
  				if (cpDefinitionOptionRel != null) {
  					cacheResult(cpDefinitionOptionRel);
  				}
  				else {
  					entityCache.putResult(CPDefinitionOptionRelModelImpl.ENTITY_CACHE_ENABLED,
  						CPDefinitionOptionRelImpl.class, primaryKey, nullModel);
  				}
  			}
  			catch (Exception e) {
  				entityCache.removeResult(CPDefinitionOptionRelModelImpl.ENTITY_CACHE_ENABLED,
  					CPDefinitionOptionRelImpl.class, primaryKey);
  
  				throw processException(e);
  			}
  			finally {
  				closeSession(session);
  			}
  		}
  
  		return cpDefinitionOptionRel;
  	}