"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."
how can I deal with it when I do it useing RMI .
Useing RMI I can not distinguish these client who has locked the record and who has not ,so when a client request unlock the record I don't know whether the record was locked by it.
in a
word, I need a method to identify each client,like "client-ID".
thanks in advance.