Re: problem in handling transactions + jdbc

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: problem in handling transactions + jdbc
Дата
Msg-id Pine.LNX.4.33.0401200710310.22998-100000@leary.csoft.net
обсуждение исходный текст
Ответ на Re: problem in handling transactions + jdbc  (Andrew Rawnsley <ronz@ravensfield.com>)
Список pgsql-jdbc

On Tue, 20 Jan 2004, Andrew Rawnsley wrote:

> Setting autocommit to true doesn't actually issue a commit, I'm pretty
> sure.
>

Actually the JavaDoc claims "If this method is called during a
transaction, the transaction is committed."  Our driver in fact only does
a commit only if you are changing the autocommit flag.  It does nothing if
the value is the same.

It also has some rather complicated rules on when this commit should
happen in the presence of open ResultSets which looks complicated.

Kris Jurka


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

Предыдущее
От: Andrew Rawnsley
Дата:
Сообщение: Re: problem in handling transactions + jdbc
Следующее
От: "Alessandro Depase"
Дата:
Сообщение: Re: problem in handling transactions + jdbc