Is it possible to lock a single row on a SQL Server table using JDBC?
I'm using jTDS driver v1.2.7 and SQL Server 2005.
Trying with
UPDATE myTable SET timestamp=GETDATE() WHERE id='myid'
from SQL Server Management Studio the lock is acquired correctly on the row. I'm able to perform SELECT and UPDATE instructions on other rows.
If I try the same but using JDBC the entire table is locked.
Any help is appreciated