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

Maksim Zhuravkov commented on IGNITE-20444:
-------------------------------------------

[~zstan], [~xtern] Could you please review my PR?

> Sql. Add restrictions for execution tx related statements with single 
> statement mode.
> -------------------------------------------------------------------------------------
>
>                 Key: IGNITE-20444
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20444
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>    Affects Versions: 3.0.0-beta1
>            Reporter: Evgeny Stanilovsky
>            Assignee: Maksim Zhuravkov
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Append single statement restrictions for using with new tx related sql syntax 
> [1] implementation.
> {code:java}
> try (Session ses = client.sql().createSession()) {
>                 ses.execute(
>                         null, "_new transactional statement from 
> ignite-20442_" <-- such calls need to be rejected
>                 ).close();
>                 ses.execute(
>                         null,
>                         "some other sql statement"
>                 ).close();
> }
> {code}
> [1] https://issues.apache.org/jira/browse/IGNITE-20442



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

Reply via email to