code: @Override
  	public CommercePriceListAccountRel fetchByPrimaryKey(
  		Serializable primaryKey) {
  		Serializable serializable = entityCache.getResult(CommercePriceListAccountRelModelImpl.ENTITY_CACHE_ENABLED,
  				CommercePriceListAccountRelImpl.class, primaryKey);
  
  		if (serializable == nullModel) {
  			return null;
  		}
  
  		CommercePriceListAccountRel commercePriceListAccountRel = (CommercePriceListAccountRel)serializable;
  
  		if (commercePriceListAccountRel == null) {
  			Session session = null;
  
  			try {
  				session = openSession();
  
  				commercePriceListAccountRel = (CommercePriceListAccountRel)session.get(CommercePriceListAccountRelImpl.class,
  						primaryKey);
  
  				if (commercePriceListAccountRel != null) {
  					cacheResult(commercePriceListAccountRel);
  				}
  				else {
  					entityCache.putResult(CommercePriceListAccountRelModelImpl.ENTITY_CACHE_ENABLED,
  						CommercePriceListAccountRelImpl.class, primaryKey,
  						nullModel);
  				}
  			}
  			catch (Exception e) {
  				entityCache.removeResult(CommercePriceListAccountRelModelImpl.ENTITY_CACHE_ENABLED,
  					CommercePriceListAccountRelImpl.class, primaryKey);
  
  				throw processException(e);
  			}
  			finally {
  				closeSession(session);
  			}
  		}
  
  		return commercePriceListAccountRel;
  	}
docs: Returns the commerce price list account rel with the primary key or returns <code>null</code> if it could not be found.
  
  @param primaryKey the primary key of the commerce price list account rel
  @return the commerce price list account rel, or <code>null</code> if a commerce price list account rel with the primary key could not be found