File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Developer Certification (SCJD/OCMJD)
unlock cookie problem
Joined: Mar 06, 2008
Mar 08, 2008 14:54:00
"Releases the lock on a record. Cookie must be the cookie
returned when the record was locked; otherwise throws
public void unlock(long recNo, long cookie)
does the above means that recNo and cookie must be equal? otherwise, throws
Joined: Feb 26, 2008
Mar 08, 2008 15:09:00
Method documentation contains: Releases the lock on a record. Cookie must be the cookie returned when the record was locked; otherwise throws
if you use other than returned using the lock method.
I agree. Here's the link:
subject: unlock cookie problem
Cookie value used in DBAccess Interface
RecordNotFoundException and unlock
NX: [URLyBird] unlock(...) and not locked record
SecurityException never thrown??
Question of unlock() method
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015