posted 15 years ago
Thanks Jeanne,
If a transaction contains multiple database connections, then its a distributed /XA transaction right?
Lets keep it as multiple i/o operations with the same database. which can be commit/rollback either using a single usertransaction or connection.
When we use UserTransaction the transaction manager/service uses a default timeout (which if we want, we can overwrite using setTransactionTimeout method)
But if I use a connection directly (for a set of lengthy database processes) then I donot need to worry about the timeout. is this right?
If so is this the only difference?