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

Dmitriy Setrakyan commented on IGNITE-2294:
-------------------------------------------

# I don't think you can pass parameters into JDBC {{addBatch(...)}} method, so 
I am not sure your batch insert example is valid.
# The semantics of {{executeBatch}} are absolutely different form the {{flush}} 
method on Data Streamer.

Generally speaking, I don't think that using {{addBatch(...)}} for data 
streamer is a good idea. However, it should be used with {{putAll(...)}} calls, 
as they fit much better.

I am beginning to think that streamer should be enabled based on some property 
in the connection string.

> Implement SQL DML (insert, update, delete) clauses.
> ---------------------------------------------------
>
>                 Key: IGNITE-2294
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2294
>             Project: Ignite
>          Issue Type: Wish
>            Reporter: Sergi Vladykin
>            Assignee: Alexander Paschenko
>             Fix For: 1.7
>
>
> We need to add parsing for all the listed SQL commands and translate them 
> into respective cache operations (putIfAbstent, put, remove).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to