wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Example Code for testing DB access and row locking Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Example Code for testing DB access and row locking" Watch "Example Code for testing DB access and row locking" New topic
Author

Example Code for testing DB access and row locking

Robert Konigsberg
Ranch Hand

Joined: Jun 23, 2004
Posts: 172
Hello,

Here is the program I used to test row locking in the Boggit and Scrapper example. Your implementation may vary.

I didn't test everything, but I tested read, some find, create/delete, invalid cookies and multiple threads locking.

Please tell me if
a) this has helped you
b) something is incorrect

I like hearing both.



SCJP 1.4 (91%)<br />SCJD 1.4 (376/400, 94%)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Example Code for testing DB access and row locking
 
Similar Threads
wait() in synchronized code ??
Hand-over-hand locking not needed in SCJD book example ?
My Test Code for DB Locking, etc.
Appealing grading results?
nx:All of URLy Bird 1.1.3 about multiple thread test