Skip to content
Prev Previous commit
Next Next commit
Remove fixme
  • Loading branch information
meedbek committed May 9, 2025
commit bb2353edd7ebd3f31d85e88c35211fafa1c4f737
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,6 @@ private void removeTicket(OracleConnection conn, long seatId, long bookingId)
}
}

// FIXME: The updated row would still be locked by the transaction until it is committed or rolledback.
// Is there a way to work around this?
final String updateSeatDML = "UPDATE seats SET available=TRUE WHERE id = ?";
try (PreparedStatement stmt = conn.prepareStatement(updateSeatDML)) {
stmt.setLong(1, seatId);
Expand Down