Hi,
Another simple check:
How many thread do you use for update & select? In case your application
is multi-threaded be sure that separate JDBC Connection is used for each
thread. Ignite JDBC API is not thread safe.
Otherwise, please share the smallest reproducer / steps to reproduce.
On 27.11.2017 18:37, Denis Mekhanikov wrote:
Could you attach queries, that you are trying to execute and full
error message?
Also make sure, that JDBC driver version is also 2.3
Denis
сб, 25 нояб. 2017 г. в 12:39, Lucky <[email protected]
<mailto:[email protected]>>:
Hi
The ignite version is 2.3
When I update something by cache.query(new SQLFieldsQuery(sql)),
and then I execute query to get new records with jdbc thin mode,
It's got an error:
Caused by: java.lang.ClassCastException:
org.apache.ignite.internal.processors.odbc.jdbc.JdbcQueryExecuteResult
cannot be cast to
org.apache.ignite.internal.processors.odbc.jdbc.JdbcQueryMetadataResult
at
org.apache.ignite.internal.jdbc.thin.JdbcThinResultSet.meta(JdbcThinResultSet.java:1877)
at
org.apache.ignite.internal.jdbc.thin.JdbcThinResultSet.getMetaData(JdbcThinResultSet.java:714)
What's suggestion?
Thanks.
--
Taras Ledkov
Mail-To: [email protected]