Skip to content

Error code is always 0 when using newer JDBC versions #2717

Description

@lilyrubich

When using clickhouse-jdbc 0.9.4, SQLException.getErrorCode() always returns the default value 0, even when the ClickHouse server reports a specific error code.

The actual ClickHouse error code is present in the underlying ServerException, but it is not propagated to SQLException.getErrorCode().

ClickHouse JDBC driver: clickhouse-jdbc:0.9.4
Java: 17

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions