nizhikov commented on code in PR #11518:
URL: https://github.com/apache/ignite/pull/11518#discussion_r1828854759


##########
modules/core/src/main/java/org/apache/ignite/internal/jdbc/thin/JdbcThinPreparedStatement.java:
##########
@@ -528,7 +539,8 @@ private void executeWithArguments(JdbcStatementType 
stmtType) throws SQLExceptio
     private void setArgument(int paramIdx, Object val) throws SQLException {
         ensureNotClosed();
 
-        if (val != null && !SqlListenerUtils.isPlainType(val.getClass()))
+        if (val != null && !SqlListenerUtils.isPlainType(val.getClass())
+                && !(val instanceof SqlInputStreamWrapper) && !(val instanceof 
Blob))

Review Comment:
   Looks like ~additional~ new checks must be inside `isPlainType` method.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to