(fwd) What should Statement.executeBatch() do with an empty batch?

Поиск
Список
Период
Сортировка
От Rene Pijlman
Тема (fwd) What should Statement.executeBatch() do with an empty batch?
Дата
Msg-id dc9iot4n3bomjk3c98rope3klp67964fu6@4ax.com
обсуждение исходный текст
Список pgsql-jdbc
FYI ... I posted this question on the Sun JDBC-interest list.
This affects the PostgreSQL driver as well. Any thoughts?

>What should Statement.executeBatch() do when its called with an
>empty or non-existent batch?
>
>Should it throw an exception, or should it successfully do
>nothing and return an updateCounts array of length 0?
>
>The JDBC 2.0 spec isn't clear about this.
>
>Regards,
>René Pijlman


Regards,
René Pijlman

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

Предыдущее
От: Rene Pijlman
Дата:
Сообщение: (fwd) What should Statement.executeBatch() do with an empty batch?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: [BUGS] Bug #428: Another security issue with the JDBC driver.