Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 94913 invoked from network); 24 Mar 2010 14:22:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Mar 2010 14:22:51 -0000 Received: (qmail 6504 invoked by uid 500); 24 Mar 2010 14:22:50 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 6457 invoked by uid 500); 24 Mar 2010 14:22:49 -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 6450 invoked by uid 99); 24 Mar 2010 14:22:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Mar 2010 14:22:49 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of t.prochazka@centrum.cz designates 90.183.38.143 as permitted sender) Received: from [90.183.38.143] (HELO gmmr4.centrum.cz) (90.183.38.143) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Mar 2010 14:22:42 +0000 Received: from gmma1 (lb1-self.cent [10.20.11.5]) by gmmr4.centrum.cz (Postfix) with ESMTP id B2D061A0026F3 for ; Wed, 24 Mar 2010 15:22:21 +0100 (CET) Received: from gmmr5.centrum.cz ([127.0.0.1]) by gmma1 (gigamail-antispam); Wed, 24 Mar 2010 15:22:21 +0100 Received: from gmmr5.centrum.cz (lb1-self.cent [10.20.11.5]) by gmma1 (esets_smtp); Wed, 24 Mar 2010 15:22:21 +0100 Received: from mail1008.cent (lb1-self.cent [10.20.11.5]) by gmmr5.centrum.cz (Postfix) with SMTP id ADD138018B7F for ; Wed, 24 Mar 2010 15:22:21 +0100 (CET) Received: from localhost by localhost (Centrum Email Forwarder); Wed, 24 Mar 2010 15:22:21 +0100 To: Subject: Re: read large result set in Ibatis3 Received: from 80.95.116.243 (X-Forwarded-For: 80.95.116.243) by mail1008.centrum.cz (centrum.cz multimail) with HTTP Date: Wed, 24 Mar 2010 15:22:21 +0100 From: =?UTF-8?Q?Tom=C3=A1=C5=A1=20Proch=C3=A1zka?= X-Mailer: Centrum Email 5.3 X-Priority: 3 MIME-Version: 1.0 X-Maser: oho Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <1269440541.654492.15673.nullmailer@mail1008.cent> X-EsetResult: clean X-CentrumSpamScore: +25 X-SpamDetected: 0 X-Virus-Checked: Checked by ClamAV on apache.org Hi. Yes. This was caused by missing session close(). -------------------------- Original message -------------------------- From: Clinton Begin Subject: read large result set in Ibatis3 Date: Wednesday, February 24, 2010, 4:05:15 PM Attachments: msgid: 16178eb11002240705o6bd44460ie95505ce2e191544@mail.gmail.com C> Ibatis shouldn't block that way. Can you confirm that it's not a table lock? C> On 2010-02-24, Tomáš Procházka wrote: >> >> I don't need expose JDBC. I only continuously read large table as queue and >> process every item. >> >> I already used ResultHandler and ArrayBlockingQueue in handleResult(). If >> the ArrayBlockingQueue is full reading is stoped until consuper thread >> process all items. >> >> But when ArrayBlockingQueue block reading I can't call another iBatis >> request. Ibatis are blocked during whole query processing with >> ResultHandler? I don't use the same Db.getSession(); >> ----------------------- End of original message ---------------------- -- Tomas Prochazka --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org For additional commands, e-mail: user-java-help@ibatis.apache.org