db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kalén <mka...@apache.org>
Subject Re: ODMG failure in 1.0.3 with Oracle
Date Thu, 07 Apr 2005 14:59:45 GMT
Armin Waibel wrote:
>> There is 1 consistent failure:
>> testIterateWithoutTx    Failure    expected:<47> but was:<45>
>> at org.apache.ojb.odmg.DListTest.testIterateWithoutTx(DListTest.java:310)
>> I will try to debug and get some more info re this.
> I think this could be again a sorting problem of returned result set. 
> Think we have to improve the test to compare the "right" objects.
> Will do this ASAP.

It might also be an inter-dependency issue among the testcases.
If I run only DListTest it passes:
ant -Dojb.testsToRun=org/apache/ojb/odmg/DListTest.java junit-no-compile-no-prepare-selected

>> 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)
> I think this is the nasty concurrency bug. I can't find out where it 
> occur. Some times it seems that the PK field isn't populated when the 
> Identity object was created. I'm stumped!

Seems resonable, it is occuring only at random.


To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org

View raw message