MS SQL does not support FOR UPDATE syntax, instread row level locking is implemented as hint (WITH ...). MSSQLServerAdapter includes syntax, but that syntax not used in SQLStatement for implementing correct row level locking.
I've attach the patch. Please apply if its relevant.

PS: propably, SAPDB also affected by this bug.

Description

MS SQL does not support FOR UPDATE syntax, instread row level locking is implemented as hint (WITH ...). MSSQLServerAdapter includes syntax, but that syntax not used in SQLStatement for implementing correct row level locking.
I've attach the patch. Please apply if its relevant.
PS: propably, SAPDB also affected by this bug.