Return-Path: Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 14952 invoked from network); 11 Mar 2003 07:00:03 -0000 Received: from smtp03.web.de (HELO smtp.web.de) (217.72.192.158) by daedalus.apache.org with SMTP; 11 Mar 2003 07:00:03 -0000 Received: from dialin-145-254-088-087.arcor-ip.net ([145.254.88.87] helo=web.de) by smtp.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE(Exim) 4.97 #53) id 18sdkE-0004HI-00 for ojb-dev@db.apache.org; Tue, 11 Mar 2003 08:00:15 +0100 Message-ID: <3E6D8989.4000606@web.de> Date: Tue, 11 Mar 2003 08:00:25 +0100 From: Thomas Mahler Reply-To: thma@apache.org Organization: Apache Foundation User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020903 X-Accept-Language: en-us, en MIME-Version: 1.0 To: OJB Developers List Subject: Re: Query vs. Criteria References: <3E6CFA46.6090500@gmx.ch> X-Enigmail-Version: 0.63.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: thma32@web.de X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Jakob, I think you are right that it belongs to Query rather than Criteria. In the past we treated Query almost only as a container for the "real" queries either Criteria or Sql based. So may thats why we put some stuff into Criteria that should got to Query. cheers, Thomas Jakob Braeuchi wrote: > hi all, > > i just commited my first try to support HAVING-clause for queries. > query has a new method setHavingCriteria(Criteria) thus query contains > TWO criteria the WHERE-criteria and the HAVING-criteria. > > during this work i was thinking about the groupBy attributes. imo > groupBy should be moved from Criteria to Query as there's only one > groupBy in a Query. i have to admit that afaik it was me adding groupBy > to Criteria :( . > > what do you think about ? > > jakob > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org > For additional commands, e-mail: ojb-dev-help@db.apache.org > >