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