Hello.
The following test code also throws the same exception:
ps = conn.prepareStatement("SET STREAMING ON ALLOW_OVERWRITE ON");
ps.execute();
ps.close();
String sql = "insert INTO city1(id,name,name1)
VALUES(?,?,RANDOM_UUID())";
ps = conn.prepareStatement(sql);
for (int i = 0; i < 1600; i++) {
String s1 = String.valueOf(Math.random());
ps.setInt(1, i);
ps.setString(2, s1);
ps.execute();
}
ps.close();
ps = conn.prepareStatement("set streaming off");
ps.execute();
ps.close();
conn.close();
We can't use execute batch method and RANDOM_UUID() within streaming mode in
ignite 2.8?
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/