create a table in clickhouse create a prepared statement from a concatenated insert string containing the table name add multiple values to the prepared statement in a batch use executeLargeBatch ...
PreparesStatementクラスが前回説明した接続プールのConnectionクラスのconnection変数を使って引数に入れたsqlをデータベースへ送ります。 またデータを更新する処理を行った場合はメソッドの最後でconnection.commit()をする必要があり、それで更新が完了される。
sharding-transaction-base-seata-at:4.1.0 sharding-jdbc-spring-boot-starter:4.1.1 seata-spring-boot-starter:1.3.0 2020-10-30 12:07:36.426 [main] INFO com.mozhe.sync.SyncServiceApplication Line:655 - ...