Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 46394 invoked from network); 4 Aug 2005 11:51:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Aug 2005 11:51:59 -0000 Received: (qmail 33208 invoked by uid 500); 4 Aug 2005 11:51:58 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 32997 invoked by uid 500); 4 Aug 2005 11:51:56 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 32984 invoked by uid 99); 4 Aug 2005 11:51:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2005 04:51:56 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of misiek_x@poczta.onet.pl designates 213.180.130.31 as permitted sender) Received: from [213.180.130.31] (HELO smtp1.poczta.onet.pl) (213.180.130.31) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2005 04:51:46 -0700 Received: from polygonatum.man.poznan.pl ([150.254.170.114]:7943 "EHLO polygonatum") by ps1.test.onet.pl with ESMTP id ; Thu, 4 Aug 2005 13:51:33 +0200 Message-ID: <00a301c598eb$002fdb40$72aafe96@polygonatum> From: =?iso-8859-2?Q?Micha=B3_Ma=B3ecki?= To: Subject: queryForList with skip max and groupBy feature Date: Thu, 4 Aug 2005 13:52:29 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, I am using groupBy feature to build complex objects, whith array of other objects. Yestarday I have discovered my mistake in sql - I have used Limit and offset in postgresql sql, which caused that I got less objects than I should (few rows create one object). Then I recalled- ibatis has queryForList(java.lang.String id, java.lang.Object parameterObject, int skip, int max), so I made changes in code, but I am still getting less objects then max. Please tell - is it bug or feature :) ? If feature, how can I specify number of objects that I want to get? Thanks! Michal Malecki