Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Example Code for testing DB access and row locking  RSS feed

 
Robert Konigsberg
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!