Better leverage for-update-of to help minimize situations where follow-on is needed
Description
While Hibernate does have the ability to apply “alias specific locking” (assuming this is supported by the database/driver), at the moment it only does so when the user has explicitly asked for it.
Leverage this with for update of, when possible, as part of minimizing the need for follow-on locking.
While Hibernate does have the ability to apply “alias specific locking” (assuming this is supported by the database/driver), at the moment it only does so when the user has explicitly asked for it.
Leverage this with
for update of
, when possible, as part of minimizing the need for follow-on locking.