Hello! Only thing I can think of that maybe you're not releasing your connections properly, end up using same connection from two threads at the same time.
Regards, -- Ilya Kasnacheev вт, 7 мая 2019 г. в 07:03, yangjiajun <[email protected]>: > 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/ >
