Re: Problem calling stored function

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Problem calling stored function
Дата
Msg-id 479093D0.3020402@opencloud.com
обсуждение исходный текст
Ответ на Re: Problem calling stored function  ("Francesco Storti" <francesco.storti@gmail.com>)
Ответы Re: Problem calling stored function
Список pgsql-jdbc
Francesco Storti wrote:
> 2008/1/17, Tom Lane tgl@sss.pgh.pa.us <mailto:tgl@sss.pgh.pa.us>:
>
>
>     Should work.  Maybe you're rolling back the transaction later, or
>     something like that?
>
>                            regards, tom lane
>
>
>
> Thank for the answer first ;)
> I use rollback only if throwed an SQL exception.

You never call commit() so the transaction will be rolled back when you
close the connection. (I'm assuming you have autocommit off, you didn't
include your connection setup code)

-O


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

Предыдущее
От: tivvpgsqljdbc@gtech-ua.com
Дата:
Сообщение: Re: Problem calling stored function
Следующее
От: "Francesco Storti"
Дата:
Сообщение: Re: Problem calling stored function