return false;
else {   ResultSet pkData  = null; HashSet   pkNames = new HashSet();  try { pkData = metaData.getPrimaryKeys(table.getName()); while (pkData.next()) { Map values = readColumns(pkData, getColumnsForPK());  pkNames.add(values.get("PK_NAME")); } } finally { if (pkData != null) { pkData.close(); } }  return pkNames.contains(index.getName()); }
    protected boolean isInternalPrimaryKeyIndex(Table table, Index index)    {    	if (index.getName().startsWith("SQL"))    	{            // Db2 uses the form "SQL060205225246220"    		try    		{    			Long.parseLong(index.getName().substring(3));    			return true;    		}    		catch (NumberFormatException ex)    		{    			// we ignore it    		}    	}		return false;    }