Re: Implicit thread-local SqlMapSessions causing hang in WAS

2005-06-13 Thread Clinton Begin
whoops:  setUserTransaction (which I'd like to deprecate). should read:  setUserConnection (which I'd like to deprecate).On 6/13/05, Clinton Begin <[EMAIL PROTECTED] > wrote: Hi Steve, IIRC, if you call setUserConnection(null), then the session is closed.  I agree, that this is not the ideal w

Re: Implicit thread-local SqlMapSessions causing hang in WAS

2005-06-13 Thread Clinton Begin
Hi Steve, IIRC, if you call setUserConnection(null), then the session is closed.  I agree, that this is not the ideal way to handle the situation, but I'm hoping more people opt to use openSession() instead of setUserTransaction (which I'd like to deprecate). Cheers, ClintonOn 6/13/05, Steve

Implicit thread-local SqlMapSessions causing hang in WAS

2005-06-13 Thread Steve Biondi
Hello all,   I wanted to share a hairy issue we discovered recently and see if people had other solutions, experiences or enhancement ideas. I recently joined a Servlet project using iBatis and Hibernate. When iBatis statements were needed, they would attach the current Connection object to