Re: [INTERFACES] Re: JDBC transactions

Поиск
Список
Период
Сортировка
От Peter T Mount
Тема Re: [INTERFACES] Re: JDBC transactions
Дата
Msg-id Pine.LNX.3.95.980108125719.7637A-100000@maidast
обсуждение исходный текст
Ответ на Re: JDBC transactions  (Herouth Maoz <herouth@oumail.openu.ac.il>)
Список pgsql-interfaces
On Thu, 8 Jan 1998, Herouth Maoz wrote:

> At 18:05 +0200 on 7/1/98, Peter T Mount wrote:
>
>
> > PS: in the current implementation, con.setAutoCommit(false) itself
> > initiates the transaction, not the next sql call.
>
> Ah, good of you to reveal this! This would mean that I would have to call
> it again if I want another transaction to start after I've committed the
> first.

Not the case. Once you have setAutoCommit(false), calling commit()
automatically begins a new transaction. The same goes for rollback().

--
Peter T Mount  petermount@earthling.net or pmount@maidast.demon.co.uk
Main Homepage: http://www.demon.co.uk/finder
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Herouth Maoz
Дата:
Сообщение: Re: JDBC transactions
Следующее
От: Glynn Black
Дата:
Сообщение: ...