You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Tomáš Procházka <t....@centrum.cz> on 2010/03/24 15:22:21 UTC

Re: read large result set in Ibatis3

Hi.

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

-------------------------- Original message --------------------------
       From: Clinton Begin <cl...@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....@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