Konstantin Orlov created IGNITE-21854:
-----------------------------------------
Summary: Sql. Revise public API
Key: IGNITE-21854
URL: https://issues.apache.org/jira/browse/IGNITE-21854
Project: Ignite
Issue Type: Improvement
Components: sql
Reporter: Konstantin Orlov
At the moment, IgniteSql provides universal method {{execute}} to execute any
type of queries. The problem is execute returns {{ResultSet}} which, in turn,
extends {{AutoCloseable}} interface. This causes a lot of warnings of static
code analyzers and forces users to wrap every invocation in try-with-resources,
which is not very convenient given that not every query actually contains
result set and thus should be closed (an example of queries which doesn't
contain result set are every DML or DDL query).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)