docs: @Override
  	public CommerceCountry fetchByG_Tw(long groupId, String twoLettersISOCode,
  		boolean retrieveFromCache) {
  		Object[] finderArgs = new Object[] { groupId, twoLettersISOCode };
  
  		Object result = null;
  
  		if (retrieveFromCache) {
  			result = finderCache.getResult(FINDER_PATH_FETCH_BY_G_TW,
  					finderArgs, this);
  		}
  
  		if (result instanceof CommerceCountry) {
  			CommerceCountry commerceCountry = (CommerceCountry)result;
  
  			if ((groupId != commerceCountry.getGroupId()) ||
  					!Objects.equals(twoLettersISOCode,
  						commerceCountry.getTwoLettersISOCode())) {
  				result = null;
  			}
  		}
  
  		if (result == null) {
  			StringBundler query = new StringBundler(4);
  
  			query.append(_SQL_SELECT_COMMERCECOUNTRY_WHERE);
  
  			query.append(_FINDER_COLUMN_G_TW_GROUPID_2);
  
  			boolean bindTwoLettersISOCode = false;
  
  			if (twoLettersISOCode == null) {
  				query.append(_FINDER_COLUMN_G_TW_TWOLETTERSISOCODE_1);
  			}
  			else if (twoLettersISOCode.equals("")) {
  				query.append(_FINDER_COLUMN_G_TW_TWOLETTERSISOCODE_3);
  			}
  			else {
  				bindTwoLettersISOCode = true;
  
  				query.append(_FINDER_COLUMN_G_TW_TWOLETTERSISOCODE_2);
  			}
  
  			String sql = query.toString();
  
  			Session session = null;
  
  			try {
  				session = openSession();
  
  				Query q = session.createQuery(sql);
  
  				QueryPos qPos = QueryPos.getInstance(q);
  
  				qPos.add(groupId);
  
  				if (bindTwoLettersISOCode) {
  					qPos.add(twoLettersISOCode);
  				}
  
  				List<CommerceCountry> list = q.list();
  
  				if (list.isEmpty()) {
  					finderCache.putResult(FINDER_PATH_FETCH_BY_G_TW,
  						finderArgs, list);
  				}
  				else {
  					CommerceCountry commerceCountry = list.get(0);
  
  					result = commerceCountry;
  
  					cacheResult(commerceCountry);
  				}
  			}
  			catch (Exception e) {
  				finderCache.removeResult(FINDER_PATH_FETCH_BY_G_TW, finderArgs);
  
  				throw processException(e);
  			}
  			finally {
  				closeSession(session);
  			}
  		}
  
  		if (result instanceof List<?>) {
  			return null;
  		}
  		else {
  			return (CommerceCountry)result;
  		}
  	}