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

From: Rene Pijlman <rpijlman(at)wanadoo(dot)nl>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: (fwd) What should Statement.executeBatch() do with an empty batch?
Date: 2001-08-26 16:40:25
Message-ID: eg9ioto2jqeuc7stiugv93g6k2b5p5anph@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bruce Momjian 2001-08-26 17:09:29 Re: [JDBC] Re: Bug #428: Another security issue with the JDBC driver.
Previous Message Rene Pijlman 2001-08-26 16:37:35 (fwd) What should Statement.executeBatch() do with an empty batch?