} finally { if (parts != null) { parts.close();
finally { if (parts != null) { parts.close(); }
    public List getPrimaryKeysForTable(String tableName) throws SQLException {        DatabaseMetaData dbmd = connection.getMetaData();        List pk = new Vector();        ResultSet parts = null;        try {            parts = dbmd.getPrimaryKeys(catalog, schema, tableName);            while (parts.next()) {                pk.add(parts.getString(4));            }        }        finally {            if (parts != null) {                parts.close();            }        }        return pk;    }