babyfish-ct / jimmer

A revolutionary ORM framework for both java and kotlin.
Apache License 2.0
876 stars 88 forks source link

[BUG] batch日志循环节重复 #649

Closed pot-mot closed 2 months ago

pot-mot commented 2 months ago

配置:

show-sql: true
pretty-sql: true
inline-sql-variables: true

下面是一些例子:

Purpose: COMMAND
SQL: delete from jimmer_code_gen.gen_column_reference
where
    association_id = ?
    and
    not (
        id = any(?)
    )
batch-0: [[159, [159]], [160, [160]], [145, [145]], [151, [151]]]
, batch-1: [[159, [159]], [160, [160]], [145, [145]], [151, [151]]]
, batch-2: [[159, [159]], [160, [160]], [145, [145]], [151, [151]]]
, batch-3: [[159, [159]], [160, [160]], [145, [145]], [151, [151]]]
Purpose: COMMAND
SQL: insert into jimmer_code_gen.gen_index_column_mapping(index_id, column_id) values(?, ?)
batch-0: [[111, 777], [112, 777], [113, 776], [114, 776], [115, 797], [116, 797], [117, 781], [118, 781]]
, batch-1: [[111, 777], [112, 777], [113, 776], [114, 776], [115, 797], [116, 797], [117, 781], [118, 781]]
, batch-2: [[111, 777], [112, 777], [113, 776], [114, 776], [115, 797], [116, 797], [117, 781], [118, 781]]
, batch-3: [[111, 777], [112, 777], [113, 776], [114, 776], [115, 797], [116, 797], [117, 781], [118, 781]]
, batch-4: [[111, 777], [112, 777], [113, 776], [114, 776], [115, 797], [116, 797], [117, 781], [118, 781]]
, batch-5: [[111, 777], [112, 777], [113, 776], [114, 776], [115, 797], [116, 797], [117, 781], [118, 781]]
, batch-6: [[111, 777], [112, 777], [113, 776], [114, 776], [115, 797], [116, 797], [117, 781], [118, 781]]
, batch-7: [[111, 777], [112, 777], [113, 776], [114, 776], [115, 797], [116, 797], [117, 781], [118, 781]]
Purpose: COMMAND
SQL: update jimmer_code_gen.gen_column_reference
set
    order_key = ?,
    remark = ?
where
    id = ?
batch-0: [[0, , 161], [0, , 162]]
, batch-1: [[0, , 161], [0, , 162]]
babyfish-ct commented 2 months ago

Try 0.8.162