Cursors removed with commit

Поиск
Список
Период
Сортировка
От Christophe Canovas
Тема Cursors removed with commit
Дата
Msg-id 10564239.43.1408541952917.JavaMail.root@zimbra.cy.cassidian.net
обсуждение исходный текст
Ответы Re: Cursors removed with commit
Список pgsql-jdbc
Hello,

I have a problem with my huge database ; using cursors (so using a transaction with noautocommit, statement with
type_forward_only)make cursors removed if I update and save (commit) database values in the same transaction during the
fetchloop. 

Error message is : portal "C_03" doesn't exist

All is fine if the commit is done in a different transaction.

In more details, in the statement creation :
  con.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY, ResultSet.HOLD_CURSORS_OVER_COMMIT);
the last parameter seems to have no effect ... ?


Best Regards,
Christophe


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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: JDBC build broken by commit 9f9019b
Следующее
От: Christophe Canovas
Дата:
Сообщение: Re: Cursors removed with commit