我正在使用SchemaSpy (5.0.0) 生成我们的 Informix 数据库的报告。在运行它时,在“收集架构详细信息”的最后一步中出现以下错误:
java.sql.SQLException: The cursor has been previously released and is unavailable.
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:408)
at com.informix.jdbc.IfxSqli.addException(IfxSqli.java:3187)
at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java:3467)
at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2378)
at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2303)
at com.informix.jdbc.IfxSqli.executeFetch(IfxSqli.java:2037)
at com.informix.jdbc.IfxSqli.getaRow(IfxSqli.java:4077)
at com.informix.jdbc.IfxResultSet.next(IfxResultSet.java:494)
at com.informix.jdbc.IfxDatabaseMetaData.getImportedKeys(IfxDatabaseMetaData.java:5524)
at net.sourceforge.schemaspy.model.Table.connectForeignKeys(Table.java:106)
at net.sourceforge.schemaspy.model.Database.connectTables(Database.java:984)
at net.sourceforge.schemaspy.model.Database.<init>(Database.java:83)
at net.sourceforge.schemaspy.SchemaAnalyzer.analyze(SchemaAnalyzer.java:211)
at net.sourceforge.schemaspy.Main.main(Main.java:42)
Caused by: java.sql.SQLException
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:408)
at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java:3472)
我在 4.1.0 版中使用 Informix JDBC 驱动程序(也尝试了 4.10.8.1)。奇怪的是,这个驱动也需要 BSON 库。
知道有什么问题吗?