tursodatabase/turso · error · SQLException

statement is closed

Error message

statement is closed

What it means

Error "statement is closed" thrown in tursodatabase/turso.

Source

Thrown at bindings/java/src/main/java/tech/turso/jdbc4/JDBC4Statement.java:432

  public boolean isClosed() throws SQLException {
    return this.closed;
  }

  @Override
  public void setPoolable(boolean poolable) throws SQLException {
    // TODO
  }

  @Override
  public boolean isPoolable() throws SQLException {
    // TODO
    return false;
  }

  @Override
  public void closeOnCompletion() throws SQLException {
    if (closed) {
      throw new SQLException("statement is closed");
    }
    closeOnCompletion = true;
  }

  /**
   * Indicates whether the statement should be closed automatically when all its dependent result
   * sets are closed.
   */
  @Override
  public boolean isCloseOnCompletion() throws SQLException {
    if (closed) {
      throw new SQLException("statement is closed");
    }
    return closeOnCompletion;
  }

  @Override
  @SkipNullableCheck

View on GitHub (pinned to bad083fafb)

When it happens

Trigger: Thrown at bindings/java/src/main/java/tech/turso/jdbc4/JDBC4Statement.java:432 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of tursodatabase/turso@bad083fafb (2026-08-16). Data as JSON: /api/errors/1c72a2d8d683f67c. Report an issue: GitHub.