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 Spring in Action this week in the Spring 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