Re: PreparedStatement batch statement impossible

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: PreparedStatement batch statement impossible
Дата
Msg-id AANLkTiks02bEgbddt7EBUa-wkxfyqj1LmBqf01LoPtYz@mail.gmail.com
обсуждение исходный текст
Ответ на PreparedStatement batch statement impossible  ("hans wulf" <lotu1@gmx.net>)
Ответы Re: PreparedStatement batch statement impossible  ("hans wulf" <lotu1@gmx.net>)
Список pgsql-jdbc
Hans,

It's certainly not clear that this is a requirement of the API. Even
executeBatch is an optional requirement.

Does anyone have any clear direction on how to handle this ? It would
appear that even oracle's jdbc throws an error.

Dave

On Tue, Mar 8, 2011 at 9:17 AM, hans wulf <lotu1@gmx.net> wrote:
> hi,
>
> the API says you can use getGeneratedKeys() after executing the statements. But executeBatch() fails...
>
> The driver has got a problem here:
>
> The normal way would be:
>
> 1. Create a PreparedStatement with the GET_GENERATED_KEYS flag
> 2. executeBatch without Exception
> 3. call getGeneratedKeys()
>
>
> --
> GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit
> gratis Handy-Flat! http://portal.gmx.net/de/go/dsl
>

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: PreparedStatement batch statement impossible
Следующее
От: "Donald Fraser"
Дата:
Сообщение: Invalid PSQLState used in connection classes