You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Kuznetsov (JIRA)" <ji...@apache.org> on 2018/10/24 14:40:00 UTC

[jira] [Comment Edited] (IGNITE-6811) JDBC Thin: SQLException("Batch is empty.") when batch list is empty

    [ https://issues.apache.org/jira/browse/IGNITE-6811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16660560#comment-16660560 ] 

Pavel Kuznetsov edited comment on IGNITE-6811 at 10/24/18 2:39 PM:
-------------------------------------------------------------------

Sure, fixed JdbcThinStatementSelfTest.testBatchEmpty - I forgot to update it
The other tests seems to be flacky
Run All: https://ci.ignite.apache.org/viewLog.html?buildId=2148135


was (Author: pkouznet):
Sure, fixed JdbcThinStatementSelfTest.testBatchEmpty - I forgot to update it
The other tests seems to be flacky
Run All: https://ci.ignite.apache.org/viewQueued.html?itemId=2148137

> 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
>
> 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)