Begin transaction?
Begin transaction?
От:
Bjørn T Johansen <btj@havleik.no>
Дата:
I was just wondering if one needs to execute some kind of Begin command to start the transaction og is it enough just to set Autocommit to false?
Regards,
BTJ
Regards,
BTJ
Re: Begin transaction?
От:
Paul Thomas <paul@tmsl.demon.co.uk>
Дата:
On 22/09/2003 12:38 Bjørn T Johansen wrote: > I was just wondering if one needs to execute some kind of Begin command > to start the transaction og is it enough just to set Autocommit to > false? If look at the driver sources you'll see that setAutocommit(false) does exactly that. HTH -- Paul Thomas +------------------------------+---------------------------------------------+ | Thomas Micro Systems Limited | Software Solutions for the Smaller Business | | Computer Consultants | http://www.thomas-micro-systems-ltd.co.uk | +------------------------------+---------------------------------------------+
Re: Begin transaction?
От:
Bjørn T Johansen <btj@havleik.no>
Дата:
I was kind of expected that, maybe I should have looked at the soruce first...
Thx...
BTJ
On Mon, 2003-09-22 at 16:18, Paul Thomas wrote:
Thx...
BTJ
On Mon, 2003-09-22 at 16:18, Paul Thomas wrote:
On 22/09/2003 12:38 Bjørn T Johansen wrote: > I was just wondering if one needs to execute some kind of Begin command > to start the transaction og is it enough just to set Autocommit to > false? If look at the driver sources you'll see that setAutocommit(false) does exactly that. HTH