Skip to content

PreparedStatement executeBatch returns number of rows regardless on how many failed #351

Description

@jorge-lavin

executeBatch() method does return an int[] that seems to be filled with all ones regardless on many of the rows in the PreparedStatement went well.

Reference: https://github.com/yandex/clickhouse-jdbc/blob/master/src/main/java/ru/yandex/clickhouse/ClickHousePreparedStatementImpl.java#L365

Is there any plan to modify this behaviour? So that int[] does contain information on how many of the rows went well and how many did not?

Kind regards

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions