ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomáš Procházka <t.procha...@centrum.cz>
Subject Re: read large result set in Ibatis3
Date Wed, 24 Mar 2010 14:22:21 GMT

Hi.

Yes. This was caused by missing session close().
  

-------------------------- Original message --------------------------
       From: Clinton Begin <clinton.begin@gmail.com>
    Subject: read large result set in Ibatis3
       Date: Wednesday, February 24, 2010, 4:05:15 PM
Attachments: <none>
      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 <t.prochazka@centrum.cz> 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


Mime
View raw message