[ https://issues.apache.org/jira/browse/IGNITE-6811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16663647#comment-16663647 ]
ASF GitHub Bot commented on IGNITE-6811: ---------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/ignite/pull/5051 > 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 > Components: jdbc > Affects Versions: 2.3 > Reporter: Vasily Bukharev > Assignee: Pavel Kuznetsov > Priority: Trivial > Fix For: 2.8 > > > 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 (v7.6.3#76005)