dbeaver连接ob的oracle模式报错,求助

用的驱动是OB官网下载的oceanbase-client-2.4.1.jar

java.sql.SQLException: ORA-00900: You have an error in your SQL syntax; check the manual that corresponds to your OceanBase version for the right syntax to use near ‘databases’ at line 1
at com.oceanbase.jdbc.internal.protocol.AbstractQueryProtocol.readErrorPacket(AbstractQueryProtocol.java:2192)
at com.oceanbase.jdbc.internal.protocol.AbstractQueryProtocol.readPacket(AbstractQueryProtocol.java:2057)
at com.oceanbase.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:1951)
at com.oceanbase.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:370)
at com.oceanbase.jdbc.JDBC4PreparedStatement.executeInternal(JDBC4PreparedStatement.java:234)
at com.oceanbase.jdbc.JDBC4PreparedStatement.execute(JDBC4PreparedStatement.java:161)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCPreparedStatementImpl.execute(JDBCPreparedStatementImpl.java:261)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCPreparedStatementImpl.executeStatement(JDBCPreparedStatementImpl.java:205)
at org.jkiss.dbeaver.model.impl.jdbc.cache.JDBCObjectCache.loadObjects(JDBCObjectCache.java:110)
at org.jkiss.dbeaver.model.impl.jdbc.cache.JDBCObjectCache.getAllObjects(JDBCObjectCache.java:74)
at org.jkiss.dbeaver.ext.mysql.model.MySQLDataSource.initialize(MySQLDataSource.java:386)
at org.jkiss.dbeaver.ext.oceanbase.model.OceanbaseMySQLDataSource.initialize(OceanbaseMySQLDataSource.java:47)
at org.jkiss.dbeaver.registry.DataSourceDescriptor.openDataSource(DataSourceDescriptor.java:1285)
at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect0(DataSourceDescriptor.java:1117)
at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:950)
at org.jkiss.dbeaver.runtime.jobs.ConnectJob.run(ConnectJob.java:77)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

其他信息,dbeaver版本,链接方式截图。
给一些让别人能复现出来的信息。啥也没有,别人也无法分析的



看看这个教程

新建 OB Oracle 驱动

  • 功能入口: 数据库->驱动管理器->新建
  • 先设置库信息: 添加文件 → 选中下载的驱动文件 → 找到类 → 加载驱动类。

  • 再设置驱动的基本信息和连接信息,其中类名为 com.alipay.oceanbase.jdbc.Driver ,URL 模板为 jdbc:oceanbase://<server>:<port>/<database>

:loudspeaker: 需要注意: 驱动类型需要选 Generic,不能选 OceanBase (那是给 OB MySQL 模式用的)。

看你截图,应该是驱动类型需要选 Generic,不能选 OceanBase



可以连上数据库了,但点击"表"的时候报错了
java.lang.StackOverflowError
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at com.oceanbase.jdbc.OceanBaseStatement.realClose(OceanBaseStatement.java:958)
at com.oceanbase.jdbc.OceanBaseStatement.close(OceanBaseStatement.java:944)
at com.oceanbase.jdbc.OceanBaseStatement.checkCloseOnCompletion(OceanBaseStatement.java:1744)
at com.oceanbase.jdbc.JDBC4ResultSet.realClose(JDBC4ResultSet.java:795)
at com.oceanbase.jdbc.JDBC4ResultSet.close(JDBC4ResultSet.java:760)
at

已解决了,谢谢!

请问是如何解决的?

需要新建驱动,支持的驱动无法连接oracle模式


大佬,我倒是能连接上,但是,现在无法选择数据库呢?