Return-Path: Delivered-To: apmail-oodt-dev-archive@www.apache.org Received: (qmail 84129 invoked from network); 2 Apr 2011 23:26:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Apr 2011 23:26:52 -0000 Received: (qmail 1948 invoked by uid 500); 2 Apr 2011 23:26:52 -0000 Delivered-To: apmail-oodt-dev-archive@oodt.apache.org Received: (qmail 1895 invoked by uid 500); 2 Apr 2011 23:26:51 -0000 Mailing-List: contact dev-help@oodt.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@oodt.apache.org Delivered-To: mailing list dev@oodt.apache.org Received: (qmail 1810 invoked by uid 99); 2 Apr 2011 23:26:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 23:26:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sheryljj@gmail.com designates 209.85.210.171 as permitted sender) Received: from [209.85.210.171] (HELO mail-iy0-f171.google.com) (209.85.210.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 23:26:45 +0000 Received: by iyi20 with SMTP id 20so6876659iyi.16 for ; Sat, 02 Apr 2011 16:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=pTmmKf+5UbrjVm88lGDuxZToB5fw7gFw+eKyw/l9p+s=; b=vv0CXUKLGsOZcAWei1WSuThsHpsVxnIXP2wcL85+lAiagoU2fPsI+OF6yOjzcGadMF R7/+s6AIuomlxScFpCsyNGNUL2gC/6qhFtedcMv02dLyNYPt9VKhKBinyLsoyekRZZDI SahgUBWsRSizkCL9oM9fngJCoVBcqy9bWhxhw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Ijkad5TaxZPitWIOSPhtL7QxyQwRlEk489z0jLjicHjKhVGFZZe1FlBKth9cHGUp49 k6pfZLOmxYEGC6U9X4F3wfBD30O9YV8KmT+tpuIxPulGOQg/JVIDqPew5KwX53yKvbL8 ZvcjcweVtfAoidV7LbU7GnBQ1vMXTWuit9WbA= MIME-Version: 1.0 Received: by 10.42.75.66 with SMTP id z2mr2192026icj.235.1301786784467; Sat, 02 Apr 2011 16:26:24 -0700 (PDT) Received: by 10.42.37.65 with HTTP; Sat, 2 Apr 2011 16:26:24 -0700 (PDT) Date: Sat, 2 Apr 2011 16:26:24 -0700 Message-ID: Subject: Removing Product Types from Repository Manager From: Sheryl John To: dev@oodt.apache.org, user@oodt.apache.org Content-Type: multipart/alternative; boundary=90e6ba6e84fedc8e5a049ff7dab3 --90e6ba6e84fedc8e5a049ff7dab3 Content-Type: text/plain; charset=ISO-8859-1 Hi, I am curious about the removeProductType() method in the following class : https://svn.apache.org/repos/asf/oodt/trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/repository/DataSourceRepositoryManager.java Since each Product is a member of a single Product Type, don't we have to delete all the Products of the deleted Product Types too (i..e reference and metadata table.) ? I read the TODO comment and I am just curious as to why the deletion was not done here or rather, the reason behind the assumption in the comment. Thanks, -- Sheryl --90e6ba6e84fedc8e5a049ff7dab3--