Hello
I get the newest version of ojb. I tested the concurrency of ojb (odmg api)
with 4 threads
The threads makes parallel insert, updates and selects of objects.
The odmg api locks two similar object of different transaction if they try
to call an insert at
the same time. In my test, if a lock occurs, the insert function sleeps 100
ms and tries again to
insert if a lock exception is thrown (up to 100 times then brake).
In prev. Version (old 1.0.RC4 and 0.9.7) this works fine (1,2 or 3 time
lock, but then one time success).
In the newest version the object is every time locked (100 times). It is
never released if it is one time locket.

Have some one an idea what the problem is?

regards
Matthias Roth
Dipl. Ing. HTL
in Wirtschaftsinformatik

impart Software Engineering GmbH
Chasseralstrasse 13
Postfach
CH-3063 Ittigen

Phone           +41 (0)31 922 39 25
Fax             +41 (0)31 922 39 18
EMail           mailto:[EMAIL PROTECTED]
Homepage        http://www.impart.ch

Reply via email to