Pavel Pereslegin created IGNITE-26139:
-----------------------------------------

             Summary: Sql. Jdbc. Migrate Statement.executeUpdate() to use thin 
client SQL API
                 Key: IGNITE-26139
                 URL: https://issues.apache.org/jira/browse/IGNITE-26139
             Project: Ignite
          Issue Type: New Feature
          Components: jdbc ai3, sql ai3
            Reporter: Pavel Pereslegin


We need to (re-)implement Statement.executeUpdate using ClientSql (internal) 
API .

After IGNITE-26086 internal API to execute query with specified query type 
should be implemented.

executeUpdate() must use this API to execute query (query type = DML/DDL).

Most likely, it will also be necessary to support  the following:

1. Cancellation token (to be able cancel query)
2. Pass client time zone (see 
JdbcConnection.connectionProperties().getConnectionTimeZone) as statement 
properties.
3. Pass transaction if autocommit=false mode (similar to what we have on server 
side - we need to lazily start transaction if it isn't started yet)





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to