ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Bukharev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-6811) JDBC Thin: SQLException("Batch is empty.") when batch list is empty
Date Wed, 01 Nov 2017 12:53:00 GMT
Vasily Bukharev created IGNITE-6811:
---------------------------------------

             Summary: JDBC Thin: SQLException("Batch is empty.") when batch list is empty
                 Key: IGNITE-6811
                 URL: https://issues.apache.org/jira/browse/IGNITE-6811
             Project: Ignite
          Issue Type: Bug
      Security Level: Public (Viewable by anyone)
          Components: jdbc
    Affects Versions: 2.3
            Reporter: Vasily Bukharev


The method executeBatch() throws SQLException("Batch is empty.") when batch list is empty.
The api doc of java.sql.Statement.executeBatch() 
does not require an exception to be thrown in such situation.
I guess it is more convinient for client code if the exception is not thrown.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message