LockOptions.SKIP_LOCKED semantics implementation on MSSQL
Description
I tried to use LockOptions with LockOptions.SKIP_LOCKED as a timeout value on MSSQL with Hibernate 4.3.11 but it seems it was ignored.
As far as I checked, it is possible to have SKIP_LOCKED semantics with MSSQL using READPAST hint (see also https://msdn.microsoft.com/en-us/library/ms187373.aspx), for example:
Will return a first not locked row in my_table and will lock it at the same time.
Environment
4.3.11, MSSQL
Activity
Show:
Vlad Mihalcea
April 3, 2017, 2:26 PM
Applied PR upstream.
Vlad Mihalcea
March 29, 2016, 6:46 AM
Thanks for adding the issue.
Fixed
Assignee
Reporter
Fix versions
Labels
None
backPortable
None
Suitable for new contributors
None
Requires Release Note
None
backportDecision
None