Skip to content

executeUpdate only return 1 for mulitiple row insert. #227

Description

@etah000

String sqlStr="insert into tab1 values (1, 'a'), (2, 'b);";
int ret = stmt.executeUpdate(sqlStr);

"ret" is always equal to one, it should return 2 for the above example. The same statement returns correct result in "clickhouse-client", that is, "2 rows in set. Elapsed: 0.023 sec."

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions