:-(
No Idea!!!

-----Original Message-----
From: Paulo Neves [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 09, 2005 12:50 AM
To: user-java@ibatis.apache.org
Subject: Re: Multiple threads with single transaction


Hi again,

Using openSession() don't work too... on every thread they create a
new connection.

Any ideia ?

Regards,


On 8/8/05, Paulo Neves <[EMAIL PROTECTED]> wrote:
> Priyesh,
> 
>  That could be a good ideia. I'll try.
> 
> Thanks,
> Paulo
> 
> On 8/8/05, Priyesh Mashelkar <[EMAIL PROTECTED]> wrote:
> > Hi Paulo,
> >         I know this may not be liked by many, but  what about getting the 
> > SqlMapSession and sharing it across? That means, iBATIS will not use its 
> > internal thread management.
> >
> > Priyesh
> >
> > -----Original Message-----
> > From: Paulo Neves [mailto:[EMAIL PROTECTED]
> > Sent: Monday, August 08, 2005 8:08 PM
> > To: user-java@ibatis.apache.org
> > Subject: Multiple threads with single transaction
> >
> >
> > Hi all,
> >
> >
> >  I have a stand alone application, that process data in multiple thread.
> >  Which thread do some calcs  and persist them.
> >
> >  I need that all processment work in only one transaction.
> >  How can I do that with ibatis sql mapper ?
> >  I don't have JTA, and sqlmapclient is threadlocal.
> >
> >
> > Regards,
> >
> >
> > --
> > ----------------------------------------------
> > Paulo Jorge Zagalo das Neves
> > Linux User # 61096
> > ----------------------------------------------
> >
> >
> >
> > MASTEK
> > "Making a valuable difference"
> > Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
> > In the US, we're called MAJESCO
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Opinions expressed in this e-mail are those of the individual and not that 
> > of Mastek Limited, unless specifically indicated to that effect. Mastek 
> > Limited does not accept any responsibility or liability for it. This e-mail 
> > and attachments (if any) transmitted with it are confidential and/or 
> > privileged and solely for the use of the intended person or entity to which 
> > it is addressed. Any review, re-transmission, dissemination or other use of 
> > or taking of any action in reliance upon this information by persons or 
> > entities other than the intended recipient is prohibited. This e-mail and 
> > its attachments have been scanned for the presence of computer viruses. It 
> > is the responsibility of the recipient to run the virus check on e-mails 
> > and attachments before opening them. If you have received this e-mail in 
> > error, kindly delete this e-mail from all computers.
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> >
> 
> 
> --
> ----------------------------------------------
> Paulo Jorge Zagalo das Neves
> Linux User # 61096
> ----------------------------------------------
> 


-- 
----------------------------------------------
Paulo Jorge Zagalo das Neves
Linux User # 61096
----------------------------------------------

Reply via email to