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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to