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

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

>Should Statement.executeBatch() reset the list of commands to empty?
>
>The JDBC 2.0 API specification (1) doesn't mention this, but the Java tutorial does (2).
>
>1) http://java.sun.com/j2se/1.3/docs/api/java/sql/Statement.html#executeBatch()
>
>2) http://java.sun.com/docs/books/tutorial/jdbc/jdbc2dot0/batchupdates.html

Regards,
René Pijlman

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

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