jooq: jOOQ 3.21.9 on Spring Boot 4.2.0 - codegen from Flyway migrations, typed queries, MULTISET, transactions, Testcontainers, fourteen real transcripts
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7h4ZNF4BDUpJk3Zou
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
8d8c28e2e5
commit
3f061c5e5d
@@ -0,0 +1,8 @@
|
||||
SQL: insert into "public"."book" ("author_id", "title", "genre", "price", "published_on", "stock", "isbn") values (?, ?, cast(? as "public"."genre"), ?, cast(? as date), ?, ?) on conflict ("isbn") do update set "stock" = ("public"."book"."stock" + ?) returning "public"."book"."id", "public"."book"."author_id", "public"."book"."title", "public"."book"."genre", "public"."book"."price", "public"."book"."published_on", "public"."book"."stock", "public"."book"."isbn"
|
||||
first call -> stock 4 (inserted)
|
||||
second call -> stock 8 (conflict, stock added); same id: true
|
||||
|
||||
page 1 SQL: select "public"."book"."id" from "public"."book" where "public"."book"."id" > ? order by "public"."book"."id" fetch next ? rows only
|
||||
page 1: [1, 2, 3] next=3
|
||||
page 2 SQL: select "public"."book"."id" from "public"."book" where "public"."book"."id" > ? order by "public"."book"."id" fetch next ? rows only
|
||||
page 2: [4, 5, 6] next=6
|
||||
Reference in New Issue
Block a user