Hello.

I use jdbc thin connections.I also use HikariCP 3.3.1.
I use flowing code to check if a table exists:

try (ResultSet rs = conn.getMetaData().getTables(
                                null, null, tableName, new String[] {"TABLE"})) 
{
                        return rs.next();
                }

But it sometimes throws exception:
java.lang.ClassCastException:
org.apache.ignite.internal.processors.odbc.jdbc.JdbcOrderedBatchExecuteResult
cannot be cast to
org.apache.ignite.internal.processors.odbc.jdbc.JdbcMetaTablesResult at
org.apache.ignite.internal.jdbc.thin.JdbcThinDatabaseMetadata.getTables(JdbcThinDatabaseMetadata.java:743)

My ignite version is 2.7.0.How can I get rid of such issue?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to