Details
Description
Seems that randomly a concurrency problem occur in Identity class. The stack trace look like this:
<snip>
testLockingOfObject Error OJB needs at least one primary key attribute for class
OJB needs at least one primary key attribute for class:
objectTopLevelClass=org.apache.ojb.odmg.LockingMultithreadedTest$LockObjectobjectRealClass=org.apache.ojb.odmg.LockingMultithreadedTest$LockObjectpkValues=null
object to identify: org.apache.ojb.odmg.LockingMultithreadedTest$LockObject@ad339b at org.apache.ojb.broker.Identity.createException(Identity.java:391)
</snip>
If this happen again, please post your stack trace as comment. Maybe it is possible to isolate the problem.