Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 69291 invoked from network); 9 Nov 2005 10:26:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Nov 2005 10:26:19 -0000 Received: (qmail 45946 invoked by uid 500); 9 Nov 2005 10:26:18 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 45922 invoked by uid 500); 9 Nov 2005 10:26:18 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 45904 invoked by uid 99); 9 Nov 2005 10:26:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2005 02:26:18 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [194.175.229.106] (HELO mail.seitenbau.net) (194.175.229.106) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2005 02:26:10 -0800 Received: from [195.127.188.18] (helo=www.seitenbau.net) by router1.seitenbau.net with esmtp (Exim 4.43) id 1EZnAW-0002sK-W8 for torque-dev@db.apache.org; Wed, 09 Nov 2005 11:27:05 +0100 In-Reply-To: <437120E9.9020302@backstagetech.com.au> Subject: TRQS321: Criteria Serialization (was:Re: [VOTE] release Torque 3.2-rc3 now) To: "Apache Torque Developers List" X-Mailer: Lotus Notes Release 6.5 September 26, 2003 Message-ID: From: Thomas Fischer Date: Wed, 9 Nov 2005 11:25:51 +0100 X-MIMETrack: Serialize by Router on www/seitenbau(Release 6.5.1|January 21, 2004) at 09.11.2005 11:25:53 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Scott, I took a quick glance at the issue, and when I uncommented the test case you checked in and resolved an issue of visibility (use "Criteria.getNewCriterion()" instead of "new Criteria.Criterion"), the test case did not produce an error. Then I looked what the test case does, and it uses Criteria.equals(Object) to test whether the two criteria are equal. This is not enough, since Criteria.equals does not compare aliases and asColumns. There are two possibilities to remedy this: - The first is to change criteria.equals, which I did not want to do between release candidates, but if somebody else is of another opinion here, we need to discuss it. - the second one is to write a custom comparison for the test case and remove it once Criteria.equals() is fixed. I admit I was too lazy to do it. So the question is how we should proceed. If you wish, I can check in the modified test case which runs for me, and then we can check whether it runs for you also. Then, I'm going to look at the old mails where the problem is described and see whether I can reproduce it. Maybe the problem has dissolved into thin air ??? (it is time for another miracle :-) ) I'll email if I find out anything new. Thomas Scott Eade schrieb am 08.11.2005 23:04:25: > I'd quite like to see http://issues.apache.org/scarab/issues/id/TRQS321 > resolved for 3.2 final, but it has been broken for a long time now and I > can't guarantee that I will be able to pull enough time together to look > at it. If I can't get my act together in the next few days then we > should go ahead without it. > > Scott > --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org