Files
java-interview-lab/library-management/output/05-race-with-version.txt
T
Claude 9c9280c7cc Add library-management module: console app evolved into a Spring Boot 4 REST API
Stage 2 console classes and the shared LoanPolicy, then a Spring Boot 4.1.2 + JPA API
(H2, @Version optimistic locking, problem+json errors). Tests write output/ transcripts
while asserting the same numbers; scripts regenerate everything.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b4DPL6dtpFg4U4LHc2
2026-11-14 21:15:48 +05:30

6 lines
229 B
Plaintext

8 threads borrow the last copy at once (Book has @Version)
successful borrows : 1
refused : 7 (a mix of 'no copies' and optimistic-lock conflicts; the split varies per run)
loan rows in DB : 1
availableCopies : 0