Re: Problem with executeBatch and "A result was returned when none was expected"

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Problem with executeBatch and "A result was returned when none was expected"
Дата
Msg-id AANLkTinRJj_WpwzAbfR4yqbd68=rUs2AB_4t0ELJjsxP@mail.gmail.com
обсуждение исходный текст
Ответ на Problem with executeBatch and "A result was returned when none was expected"  (Sean Bowman <pico303@gmail.com>)
Ответы Re: Problem with executeBatch and "A result was returned when none was expected"  (Dave Cramer <pg@fastcrypt.com>)
Re: Problem with executeBatch and "A result was returned when none was expected"  (Lew <noone@lewscanon.com>)
Список pgsql-jdbc
On 16 March 2011 22:14, Sean Bowman <pico303@gmail.com> wrote:

> Any suggestions or pointing out my code flaws would be most appreciated.  Or
> does executeBatch just not work?  I've been battling this issue most of the
> day and I'm just about at my wits' end.  Should I just give up and switch to
> calling execute() one at a time?  Seems far less efficient, but at least it
> seems to work.

You are correct, generated keys don't work with executeBatch() yet.
(There was another thread about this a couple of days ago)

Oliver

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Problem with executeBatch and "A result was returned when none was expected"
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Problem with executeBatch and "A result was returned when none was expected"