Return-Path: Mailing-List: contact turbine-torque-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list turbine-torque-dev@jakarta.apache.org Received: (qmail 5502 invoked by uid 98); 20 Dec 2002 12:30:33 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 5482 invoked from network); 20 Dec 2002 12:30:31 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 20 Dec 2002 12:30:31 -0000 Received: (qmail 16040 invoked by uid 500); 20 Dec 2002 12:29:20 -0000 Received: (qmail 15939 invoked from network); 20 Dec 2002 12:29:19 -0000 Received: from unknown (HELO brandtheater.net) (66.70.42.170) by daedalus.apache.org with SMTP; 20 Dec 2002 12:29:19 -0000 Received: from dellwork ([80.202.86.177]) by brandtheater.net (Merak 4.4.2) with SMTP id HTC37169 for ; Fri, 20 Dec 2002 07:21:47 -0800 Message-ID: <000701c2a823$7b296f70$0300000a@dellwork> From: "Matt Koranda" To: Subject: Criterion patch Date: Fri, 20 Dec 2002 13:29:45 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Greetings, I have never submittted anything before but I came accross an issue in Criteria.Criterion that I would like to submit a fix for. Line number 3427: if (table == null) Should be: if (table == null || table == "") This is because several of the Criterion() constuctor methods set a blank table variable to "". When I use the setHaving() method it was being set to: .COLUMNNAME = *whatever* and producing an error. As I said, this is my first attempt to submit anything so please let me know if there is a better way. Thank you, Matt