[
https://issues.apache.org/jira/browse/IGNITE-12764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17077988#comment-17077988
]
Dmitriy Sorokin commented on IGNITE-12764:
------------------------------------------
[~nizhikov], thanks for your review of my patch!
I fixed the code according to your comments and answered to your question,
please look at new changes!
> Regression: Thin JDBC streaming fails/BatchUpdateException if function is used
> ------------------------------------------------------------------------------
>
> Key: IGNITE-12764
> URL: https://issues.apache.org/jira/browse/IGNITE-12764
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Affects Versions: 2.8
> Reporter: Ilya Kasnacheev
> Assignee: Dmitriy Sorokin
> Priority: Blocker
> Fix For: 2.8.1
>
> Attachments: SqlMain.java
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> insert INTO city1(id,name,name1) VALUES(?,?,RANDOM_UUID())
> happily worked in 2.7.6 but will fail on 2.8.0 with:
> Exception in thread "main" java.sql.BatchUpdateException: class
> org.apache.ignite.IgniteCheckedException: null
> at
> org.apache.ignite.internal.jdbc.thin.JdbcThinConnection$StreamState.readResponses(JdbcThinConnection.java:1364)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Suspected reason is that function RANDOM_UUID() is not processed correctly
> here. Column type does not matter between UUID and VARCHAR.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)