File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
My Test Code for DB Locking, etc.
wait() in synchronized code ??
Hand-over-hand locking not needed in SCJD book example ?
nx:All of URLy Bird 1.1.3 about multiple thread test
Appealing grading results?