H2 数据库有一个以 SET 开头的命令列表,特别是 SET DB_CLOSE_DELAY。我想知道 DB_CLOSE_DELAY 的值是多少。我正在使用 JDBC。设置简单
cx.createStatement.execute("SET DB_CLOSE_DELAY 0")
但以下均不返回 DB_CLOSE_DELAY 的实际值:
cx.createStatement.executeQuery("DB_CLOSE_DELAY")
cx.createStatement.executeQuery("VALUES(@DB_CLOSE_DELAY)")
cx.createStatement.executeQuery("GET DB_CLOSE_DELAY")
cx.createStatement.executeQuery("SHOW DB_CLOSE_DELAY")
帮助将不胜感激。