Jira issue originally created by user @beberlei:
MSSQL locking requires the table name to be hinted with additional information. However in many places there are only ways to append the lock hints to the whole Query.
We have to lock over the code and delegate table name generation to $platform->appendLockHint($tableName) to get this fixed.
Comment created by @beberlei:
This was fixed by juokaz
Issue was closed with resolution "Fixed"