On 8/24/05, Rafiq, Adnan <[EMAIL PROTECTED]> wrote:
> 1. the process will spawn multiple threads and each thread needs its 
> own connection. how is this handled in ibatis? does each thread 
> automatically get its own connection or do I need to write more code?

That is the default behavior, yes.

> 2. the process commits/rollbacks at the very end by default however, 
> some batch processes may do commits in the middle of processing 
> (e.g. in a for-loop) I believe I can just issue commits using the iBatis 
> API. is this correct?

Not sure what you mean here..you can commit using the sqlmap api.

> 3. I plan to use a Simple JDBC datasource as TX manager. Is this the 
> best approach or are there better alternatives out there?

Should work ok.

> 
> 
> -----Original Message-----
> From: Graeme J Sweeney [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 24, 2005 10:23 AM

PLEASE do not hijack other threads like this..

Larry

Reply via email to