执行 SQL 语句的 DbUnit 返回: "SQL statement would generate a row count"



>我有一个工作正常的SQL语句。
它是一个 select 语句,并按预期返回行。

为什么我会收到错误: org.dbunit.dataset.DataSetException: com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: SQL statement would generate a row count.

这个问题可以通过删除 SQL 语句末尾的分号来解决。

最新更新