-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
🐛 bugSomething isn't workingSomething isn't working
Description
Describe the bug
An auto increment id is currently inserted with the following statement (H2).
select "ID" from final table (insert into...
The select statement is counted with @ExpectSelect. However, the actual insert statement does not.
This means that ExpectInsert is always 0 for a current insert statement.
Expected behavior
I would expect the insert statement to be counted.
Actual behavior
The insert statement is not counted.
To Reproduce
Use jooq with H2 and produce a store entity with a auto increment/identity primary key column id.
Should also be possible to use plain prepared statement with the same SELECT and the inner insert.
Versions
- QuickPerf:
- JDK: 17
- OS: Ventura
- Database (if SQL annotation bug): H2
Metadata
Metadata
Assignees
Labels
🐛 bugSomething isn't workingSomething isn't working