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