Konstantin Orlov created IGNITE-18983:
-----------------------------------------

             Summary: Sql. Jdbc. Migrate JDBC handler on new internal API
                 Key: IGNITE-18983
                 URL: https://issues.apache.org/jira/browse/IGNITE-18983
             Project: Ignite
          Issue Type: Improvement
          Components: jdbc
            Reporter: Konstantin Orlov


h3. Problem

Currently, JDBC implementation uses old entrypoint to QueryProcessor: 
{{QueryProcessor#queryAsync(...)}}. It lacks proper integration with 
transaction, as well as session management.

As a first step, let's migrate only subset of {{execute*}} methods: 
{{executeQuery}} and {{executeUpdate}}. Execution of the arbitrary script 
({{Statement#execute}}), as well as execution of batched methods 
({{*Statement#executeBatch}}) will be addressed in the follow up tickets.

h3. Implementation notes

JdbcConnection should created session with the very first request, reuse the 
same session while it is valid, and recreated the session on the next request 
if it was invalidated.

 



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

Reply via email to