Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 45740 invoked from network); 2 Apr 2004 12:26:11 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Apr 2004 12:26:11 -0000 Received: (qmail 82220 invoked by uid 500); 2 Apr 2004 12:26:09 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 82185 invoked by uid 500); 2 Apr 2004 12:26:09 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 82149 invoked from network); 2 Apr 2004 12:26:08 -0000 Received: from unknown (HELO gatekeeper.fma.co.za) (196.30.143.210) by daedalus.apache.org with SMTP; 2 Apr 2004 12:26:08 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.fma.co.za (Postfix) with ESMTP id C3053330FA for ; Fri, 2 Apr 2004 14:24:18 +0200 (SAST) Received: from gatekeeper.fma.co.za ([127.0.0.1]) by localhost (gatekeeper.fma.co.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30843-01 for ; Fri, 2 Apr 2004 14:24:15 +0200 (SAST) Received: from sharp.fm (gatekeeper.fma.co.za [196.30.143.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gatekeeper.fma.co.za (Postfix) with ESMTP id CC6953301F for ; Fri, 2 Apr 2004 14:24:12 +0200 (SAST) Message-ID: <406D5B6C.30009@sharp.fm> Date: Fri, 02 Apr 2004 14:24:12 +0200 From: Graham Leggett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922 X-Accept-Language: en-za, en-us, en MIME-Version: 1.0 To: Apache Torque Developers List Subject: Re: Criteria and OR References: <406C0B0D.8090507@sharp.fm> <1080831365.1481.65.camel@localhost.localdomain> In-Reply-To: <1080831365.1481.65.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at fma.co.za X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N David Zverina wrote: > You're probably adding criteria instead of making Criterions and or-ing > them first. The following code fragment works and will probably do what > you need. Thanks! Is it possible to add this to the documentation of the or() methods in Criteria? It implies by the name of the method "or" that when added it should say "or". Can this also be added to the Criteria howto documentation? Regards, Graham -- --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org