{"record":{"id":"fb71198eed972681","repo":"tursodatabase/turso","slug":"statement-is-closed-fb7119","errorCode":null,"errorMessage":"Statement is closed","messagePattern":"Statement is closed","errorType":"exception","errorClass":"SQLException","httpStatus":null,"severity":"error","filePath":"bindings/java/src/main/java/tech/turso/jdbc4/JDBC4Statement.java","lineNumber":500,"sourceCode":"  /**\n   * Functional interface for SQL callable operations.\n   *\n   * @param <T> the return type\n   */\n  @FunctionalInterface\n  protected interface SQLCallable<T> {\n    /**\n     * Executes the SQL operation.\n     *\n     * @return the result of the operation\n     * @throws SQLException if a database access error occurs\n     */\n    T call() throws SQLException;\n  }\n\n  private void ensureOpen() throws SQLException {\n    if (closed) {\n      throw new SQLException(\"Statement is closed\");\n    }\n  }\n}\n","sourceCodeStart":482,"sourceCodeEnd":504,"githubUrl":"https://github.com/tursodatabase/turso/blob/bad083fafbefdeae9a42ec19bdaaad8918dcf411/bindings/java/src/main/java/tech/turso/jdbc4/JDBC4Statement.java#L482-L504","documentation":"Error \"Statement is closed\" thrown in tursodatabase/turso.","triggerScenarios":"Thrown at bindings/java/src/main/java/tech/turso/jdbc4/JDBC4Statement.java:500 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bad083fafbefdeae9a42ec19bdaaad8918dcf411","analyzedAt":"2026-08-16T23:12:11.798Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}