Re: Transaction handling through java

Поиск
Список
Период
Сортировка
От Guillaume Cottenceau
Тема Re: Transaction handling through java
Дата
Msg-id 87bq0yw943.fsf@mnc.ch
обсуждение исходный текст
Ответ на Transaction handling through java  (nalini <nalini@nic.in>)
Ответы Re: Transaction handling through java
Список pgsql-jdbc
Hi,

> I am facing the following problem.
>
> Our application sends a block of queries to postgres in a begin end
> block. If one of the queries take a long time to finish the whole
> transaction is assumed to be committed by the application even though
> the query is still running . This results in failure of all subsequent
> transactions.
>
> Although the application is programmed to catch all exceptions , it
> somehow is not able to figure out that the transaction is still not
> complete.

I may be missing something, but it seems to me that the problem
is your application wrongly assuming that queries taking a long
time to finish are assumed to be already committed?

--
Guillaume Cottenceau

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

Предыдущее
От: nalini
Дата:
Сообщение: Transaction handling through java
Следующее
От: Pushker Chaubey
Дата:
Сообщение: Re: Transaction handling through java