IGNITE-16268 JDBC. Validation of statement type should be done before its execution...
authorVladimir Ermakov <85303706+vladErmakov07@users.noreply.github.com>
Thu, 24 Feb 2022 13:21:59 +0000 (16:21 +0300)
committerGitHub <noreply@github.com>
Thu, 24 Feb 2022 13:21:59 +0000 (16:21 +0300)
commit3288848aa09076a8eceb1d69173f22ca251367e2
treeee17f5218fede1cd4d203e737d70cd687f2eac3f
parentf1a932faa76dd51cfc38bdffc4cfc36c1f1f5469
IGNITE-16268 JDBC. Validation of statement type should be done before its execution (#613)
18 files changed:
modules/client-common/src/main/java/org/apache/ignite/client/proto/query/JdbcStatementType.java
modules/client-common/src/main/java/org/apache/ignite/client/proto/query/event/QueryExecuteRequest.java
modules/client-handler/src/main/java/org/apache/ignite/client/handler/JdbcQueryEventHandlerImpl.java
modules/client/src/main/java/org/apache/ignite/internal/jdbc/JdbcPreparedStatement.java
modules/client/src/main/java/org/apache/ignite/internal/jdbc/JdbcStatement.java
modules/client/src/test/java/org/apache/ignite/client/fakes/FakeIgniteQueryProcessor.java
modules/raft/src/test/java/org/apache/ignite/raft/jraft/storage/snapshot/local/LocalSnapshotCopierTest.java
modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/jdbc/ItJdbcBatchSelfTest.java
modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/jdbc/ItJdbcErrorsSelfTest.java
modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/jdbc/ItJdbcStatementSelfTest.java
modules/runner/src/integrationTest/java/org/apache/ignite/internal/sql/engine/ItMixedQueriesTest.java
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/QueryContext.java [new file with mode: 0644]
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/QueryProcessor.java
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/QueryValidator.java [new file with mode: 0644]
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/SqlQueryProcessor.java
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/QueryValidationException.java [new file with mode: 0644]
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/TableManager.java
modules/table/src/test/java/org/apache/ignite/internal/table/TableManagerTest.java