8 threads borrow the last copy at once (Book has @Version) successful borrows : 1 refused by optimistic-lock failure : 6 refused for any other reason : 1 loan rows in DB : 1 availableCopies : 0