Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 15160 invoked from network); 8 Jul 2004 03:34:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Jul 2004 03:34:50 -0000 Received: (qmail 79084 invoked by uid 500); 8 Jul 2004 03:34:41 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 78912 invoked by uid 500); 8 Jul 2004 03:34:40 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 78898 invoked by uid 99); 8 Jul 2004 03:34:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.137.167.162] (HELO filter.fridayfives.net) (209.137.167.162) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 07 Jul 2004 20:34:38 -0700 Received: by filter.fridayfives.net (Postfix, from userid 5054) id 38B8D6FC87; Wed, 7 Jul 2004 21:21:54 -0400 (EDT) Received: from freki (freki [127.0.0.1]) by freki (Postfix) with SMTP id 5A9396FC8A for ; Wed, 7 Jul 2004 21:21:51 -0400 (EDT) Received: from [172.20.1.50] (pcp09699887pcs.limstn01.de.comcast.net [69.240.190.104]) by filter.fridayfives.net (Postfix) with ESMTP id 174316FC87 for ; Wed, 7 Jul 2004 21:21:51 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v618) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: OJB Developers List From: Brian McCallister Subject: [OJB 1.1] Criteria API Change Date: Wed, 7 Jul 2004 22:30:22 -0400 X-Mailer: Apple Mail (2.618) X-Spam-Bayes-Score: 0.0000 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on freki X-Spam-Level: X-Spam-Status: No, hits=-2.2 required=5.0 tests=BAYES_00,RCVD_IN_DYNABLOCK, RCVD_IN_SORBS autolearn=no version=2.63 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I would like to add change all of the various "Criteria.add*(..): void" methods to return a Criteria instance, the same one called against. This will allow chaining criteria calls a la: criteria = criteria.addEqualTo("foo", foo).addGreaterThan("bar", bar).addLike("baz", baz); This will break drop-in jar replacement without a recompile, but will work fine with a recompile on existing code as they all return void now. -brian --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org