RE: SqlMapClient gets stuck when running under multiple threads

2009-09-22 Thread Ejaz X Mohammed
clinton.be...@gmail.com] Sent: Tuesday, September 22, 2009 6:30 PM To: user-java@ibatis.apache.org Subject: Re: SqlMapClient gets stuck when running under multiple threads SqlMapClient supports multiple threads, you should not have more than one copy. In fact, if you do, you might run into these kinds of pr

Re: SqlMapClient gets stuck when running under multiple threads

2009-09-22 Thread Clinton Begin
SqlMapClient supports multiple threads, you should not have more than one copy. In fact, if you do, you might run into these kinds of problems. I think that's in the documentation in the first sections regarding SqlMapClient. Clinton On Tue, Sep 22, 2009 at 4:22 PM, Ejaz X Mohammed wrote: > H

SqlMapClient gets stuck when running under multiple threads

2009-09-22 Thread Ejaz X Mohammed
Hello, I'm having problem using SqlMapClient in multiple threads ... I'm storing SqlMapClient instance as ThreadLocal variable - thus each thread gets it's own separate copy. I've supplied startTransaction(), commitTransaction() and endTransaction() which operate on thread local SqlMapClient i