Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 60796 invoked from network); 15 Jul 2006 08:55:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Jul 2006 08:55:46 -0000 Received: (qmail 66069 invoked by uid 500); 15 Jul 2006 08:55:46 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 65939 invoked by uid 500); 15 Jul 2006 08:55:45 -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 65928 invoked by uid 99); 15 Jul 2006 08:55:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Jul 2006 01:55:45 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 15 Jul 2006 01:55:45 -0700 Received: (qmail 60742 invoked by uid 1977); 15 Jul 2006 08:55:24 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 15 Jul 2006 08:55:24 -0000 Date: Sat, 15 Jul 2006 01:55:24 -0700 (PDT) From: Thomas Fischer To: Apache Torque Developers List Subject: Re: svn commit: r419657 - /db/torque/runtime/trunk/src/java/org/apache/torque/adapter/ In-Reply-To: <44B36219.3090707@tewisoft.de> Message-ID: <20060715014551.A59067@minotaur.apache.org> References: <20060706185554.90B031A981A@eris.apache.org> <20060707234623.B63489@minotaur.apache.org> <44AF71B4.9060808@apache.org> <20060709102829.X79798@minotaur.apache.org> <44B36219.3090707@tewisoft.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Rating: localhost 1.6.2 0/1000/N X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Tue, 11 Jul 2006, Thomas Vandahl wrote: > Thomas Fischer wrote: >> I did not mean to criticize you there. It was just a general remark. > > No, you are perfectly right. Sybase and SQLServer do have very similar > features. Compatibility is a distinct aim of the development. Ah, I did not know that. I thought it was just a coincidence. This gives a certain justification to the extension... > The extension > is clumsy, nevertheless. > > I got my hands on a copy of MS-SQL Server 2005 Express to test how things are > going. And guess what: All kinds of problems. Mainly the following: > - criteria.setLimit(0) is supposed to return 0 records (What sense does that > make, anyway?) I think it is consistent behaviour; if soneone has a formula which might return zero then this works also. Not much sense otherwise. >"SET ROWCOUNT 0" means to return all records. Hm, this would mean we have the same problem in sybase... Not that I could check that... > > - criteria.setSingleRecord() and criteria.setLimit(1) have different meaning, > especially if offset is > 0. In our case of MS-SQL, we have limit support but > no offset support. The check on single record, however, takes place before > the offset is considered by Village. This needs to be fixed. aaaaargh... Village the villain again...... We _NEED_ to get rid of it. > - Strange LargeSelect behaviour. Thomas, can we resolve this for now by declaring that mysql does not support native limit ? > > As we are at it: Somehow I cannot get the test project to write a log file. > The log4j.properties file seems to have no effect. Any hints? > I did not see any initiallisation of log4j in the sources of the test project. I guess one would have to tell log4j to initialize itself using that properties file. Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org