Re: Problem calling stored function

Поиск
Список
Период
Сортировка
Искать
От
Oliver Jowett
Тема
Re: Problem calling stored function
Дата
Msg-id
479093D0.3020402@opencloud.com
Ответ на
Список
Дерево обсуждения
Problem calling stored function "Francesco Storti" <francesco.storti@gmail.com>
Re: Problem calling stored function Tom Lane <tgl@sss.pgh.pa.us>
Re: Problem calling stored function "Francesco Storti" <francesco.storti@gmail.com>
Re: Problem calling stored function tivvpgsqljdbc@gtech-ua.com
Re: Problem calling stored function Oliver Jowett <oliver@opencloud.com>
Re: Problem calling stored function "Francesco Storti" <francesco.storti@gmail.com>
Francesco Storti wrote:
> 2008/1/17, Tom Lane 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
Дата:
От: Francesco Storti
Дата:
FAQ