korlov42 commented on code in PR #1454:
URL: https://github.com/apache/ignite-3/pull/1454#discussion_r1055435297


##########
modules/jdbc/src/main/java/org/apache/ignite/jdbc/JdbcPreparedStatement.java:
##########
@@ -107,7 +106,7 @@ public int[] executeBatch() throws SQLException {
 
         closeResults();
 
-        if (CollectionUtils.nullOrEmpty(batchedArgs) || 
StringUtil.isNullOrEmpty(sql)) {
+        if (CollectionUtils.nullOrEmpty(batchedArgs) || (sql == null || 
sql.isBlank())) {

Review Comment:
   Perhaps, it would be better to reuse 
`org.apache.ignite.internal.util.StringUtils#nullOrBlank` from core module



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to