I've made my Data-class and my locking is done. I also have multithreadtest-class that generates requests. I have a problem. How to verify that everything is going like it should be?
I outputs all locks, unlocks, create...
I've run it with 100 clients, 10 records, 400 hits per client and everything is going smoothly. (no deadlocks, no exceptions)
SCJP 5.0, SCJD URLyBird 1.3.3, OCMJEA 5 (SCEA) Factory Homes
You can also try my UB test, but from what I understand you already have something that outputs every step, so this is maybe quite similar. What you can do is run it with a big amount of threads and records and see if the database is still valid at the end.
I think there are also some other multithreaded tests around, so try a search and see what you can find.