Hello friends,

I am very grateful for the help yesterday. Was not detected this
attribute(id) because was with an older version of Ibatis.

What happens now is: I have that consultat with the same instruction,
passing just different Hashtable as parameter.
        
When I move the same object, all the threads run correctly. But when I step
objects (Hashtable) different is the following error:

Data conversion error.

Use the Informix.

Thank you. 


Juan Pablo Araya wrote:
> 
> I had the same problem a year ago. The error occurred because you run
> ibatis in different threads. In my case, I just used
> 
>             ISqlMapper sqlMapper = Mapper.Instance();
>             sqlMapper.SessionStore = new
> HybridWebThreadSessionStore(sqlMapper.Id);
> 
> in every iBatis call and then it worked.
> 
> Hope this work for you. Greetings and sorry for my poor english!
> 
> On Wed, Aug 12, 2009 at 9:45 AM, jmsandy<jmsa...@gmail.com> wrote:
>>
>> Hi,
>>
>> I need much help from you. I need to optimize a query and the only
>> possible
>> way and run parallel accesses.
>>
>> I am consulting divided into parts to run.
>>
>> The scenario I have is:
>> 1) I make the call to a Webservice which routines should be run.
>> 2) I did call and got error with Threads.
>> 3) I tried with asynchronous methods and got error.
>> 4) The error I am getting is:
>>
>>  Message="WebSessionStore: Could not obtain reference to HttpContext"
>>  Source="IBatisNet.DataMapper"
>>  StackTrace:
>>       at
>> IBatisNet.DataMapper.SessionStore.WebSessionStore.ObtainSessionContext()
>>       at
>> IBatisNet.DataMapper.SessionStore.WebSessionStore.get_LocalSession()
>>       at IBatisNet.DataMapper.SqlMapper.QueryForList[T](String
>> statementName, Object parameterObject)
>>
>> How do I make several simultaneous queries in Ibatis. Please pass me an
>> example.
>>
>> Thanks.
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Help-in-MultiThreads-tp24936820p24936820.html
>> Sent from the iBATIS - User - Cs mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-cs-unsubscr...@ibatis.apache.org
>> For additional commands, e-mail: user-cs-h...@ibatis.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-cs-unsubscr...@ibatis.apache.org
> For additional commands, e-mail: user-cs-h...@ibatis.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Help-in-MultiThreads-tp24936820p24954614.html
Sent from the iBATIS - User - Cs mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-cs-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-cs-h...@ibatis.apache.org

Reply via email to