Re: JDBC: pl/pgsql function runs but does not do anything

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: JDBC: pl/pgsql function runs but does not do anything
Дата
Msg-id h3fm0d$45a$1@ger.gmane.org
обсуждение исходный текст
Ответ на Re: JDBC: pl/pgsql function runs but does not do anything  (Rob W <digital_illuminati@yahoo.com>)
Список pgsql-novice
Rob W wrote on 13.07.2009 16:46:
> I was not explicitly beginning or ending a transaction. However, this
> response inspired me to try the obvious (in hindsight):
>
> connection.setAutocommit(true)
>
> And hey presto, it worked. The odd thing is that not one single
> example/tutorial I looked at anywhere explicitly sets autocommit, so figuring
> this out was a guessing game. On the bright side, I won't forget about
> setting autocommit to true in a hurry!

I guess those examples have a connection.commit() somewhere ;)

Thomas



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

Предыдущее
От: Rob W
Дата:
Сообщение: Re: JDBC: pl/pgsql function runs but does not do anything
Следующее
От: MF Hull
Дата:
Сообщение: queries per second script