Re: stored function, multiple queries, best practices

Поиск
Список
Период
Сортировка
От Guy Rouillier
Тема Re: stored function, multiple queries, best practices
Дата
Msg-id CC1CF380F4D70844B01D45982E671B230137A89F@mtxexch01.add0.masergy.com
обсуждение исходный текст
Ответ на stored function, multiple queries, best practices  (Ash Grove <ash_grv7@yahoo.com>)
Список pgsql-jdbc
Ash Grove wrote:

> I can only call one function (from the application)
> per transaction, right?

Incorrect.  Transactions are delimited by commits or rollbacks, not by
function calls or SQL statements (more correctly, DML.)  If you want to
control your commit points, tell JDBC to "conn.setAutocommit(false)".

--
Guy Rouillier


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

Предыдущее
От: Ash Grove
Дата:
Сообщение: Re: stored function, multiple queries, best practices
Следующее
От: "Ed Blackmore"
Дата:
Сообщение: Re: connection reset error, followed by broken pipe (pg74.213.jdbc3.jar)