[jira] [Created] (IGNITE-7528) JDBC thin: set query options on per-statement level

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-7528) JDBC thin: set query options on per-statement level

Anton Vinogradov (Jira)
Vladimir Ozerov created IGNITE-7528:
---------------------------------------

             Summary: JDBC thin: set query options on per-statement level
                 Key: IGNITE-7528
                 URL: https://issues.apache.org/jira/browse/IGNITE-7528
             Project: Ignite
          Issue Type: Task
          Components: jdbc
            Reporter: Vladimir Ozerov
             Fix For: 2.5


We have a number of query options which are set on connection string and are applied to every request executed on top this connection. This includes "distributedJoins", "enforceJoinsOrder", "colocated", etc.. This is not very flexible because user have to construct different connection strings for different set of options.

JDBC API mitigates this problem with {{Statement.unwrap()}} method. Ultimately it allows to case {{Statement}} object to vendor-specific class where any additional methods could be exposed.

Let's create public wrappers for out statements where it would possible to set necessary options. When set, we will add them to query requests thus overriding connection string counterparts.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)