[
https://issues.apache.org/jira/browse/IGNITE-20687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladislav Pyatkov updated IGNITE-20687:
---------------------------------------
Reviewer: Konstantin Orlov
> Exclude IgniteTransactions from SQL session creation API
> --------------------------------------------------------
>
> Key: IGNITE-20687
> URL: https://issues.apache.org/jira/browse/IGNITE-20687
> Project: Ignite
> Issue Type: Bug
> Reporter: Vladislav Pyatkov
> Assignee: Vladislav Pyatkov
> Priority: Major
> Labels: ignite-3
> Time Spent: 20m
> Remaining Estimate: 0h
>
> h3. Motivation
> To start SQL implicit transactions, we apply a specific IgniteTransaction
> instance for each invocation. But the parameter should not be available
> through the public API because it is useless for end-users.
> h3. Implementation notes
> The easiest way is to add methods (_SessionBuilderImpl#igniteTransactions_)
> to the implementation of the session builder only (exclude them from the
> session interface). It allows you to cast directly and pass the Ignite
> transaction instance as needed.
> Also, this approach avoids adding confusing methods to the public API.
> Look it in detail in the PR attached.
> h3. Definition of done
> The public session interface is freed from IgniteTransactions
> (_SessionBuilder#igniteTransactions).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)