Re: JDBC: pl/pgsql function runs but does not do anything
В списке pgsql-novice по дате отправления:
| От | Rob W |
|---|---|
| Тема | Re: JDBC: pl/pgsql function runs but does not do anything |
| Дата | |
| Msg-id | 461779.26248.qm@web34601.mail.mud.yahoo.com обсуждение |
| Ответ на | JDBC: pl/pgsql function runs but does not do anything (Rob W <digital_illuminati@yahoo.com>) |
| Ответы |
Re: JDBC: pl/pgsql function runs but does not do anything
|
| Список | pgsql-novice |
--- On Mon, 7/13/09, John DeSoi <desoi@pgedit.com> wrote: > > Are you running inside a transaction that is being > cancelled or not committed? 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 truein a hurry! Thanks for the nudge in the right direction.
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера