(fwd) What should Statement.executeBatch() do with an empty batch? - Mailing list pgsql-jdbc

From Rene Pijlman
Subject (fwd) What should Statement.executeBatch() do with an empty batch?
Date
Msg-id eg9ioto2jqeuc7stiugv93g6k2b5p5anph@4ax.com
Whole thread Raw
List 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 by date:

Previous
From: Barry Lind
Date:
Subject: Re: [BUGS] Bug #428: Another security issue with the JDBC driver.
Next
From: Rene Pijlman
Date:
Subject: (fwd) What should Statement.executeBatch() do with an empty batch?