Record Locking and Client ID�s

Leonardo Penha

Ranch Hand

Posts: 68

posted 14 years ago

My instructions.html file states: "The unlock method simply removes the lock from the specified record. If an attempt is made to unlock a record that has not been locked by this connection, then no action is be taken. " To me, that sounds as if we have to implement a way to track which records are locked by which clients. I wonder how can we obtain these client ID�s, since the signature of the lock and unlock methods only accept an int (the record number). Any thoughts on this? Yo! Leo.

Leonardo Penha<br />SCJP, SCJD, SCWCD, SCEA, SCMAD, SCDJWS

Greg Georges

Ranch Hand

Posts: 116

posted 14 years ago

I had exactly the same question, mentionned it on this forum just yesterday, here is what I thought of the situation.My post