db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <arm...@apache.org>
Subject Re: ODMG failure in 1.0.3 with Oracle
Date Thu, 07 Apr 2005 15:07:05 GMT
Martin Kalén wrote:
> 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
>

I checked in a new version of this test which take care of sorting 
problem. Give it a try.


>>> 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.
> 

hmm, I will create a jira issue and if this error message occur again, 
please add your stack trace to jira. Maybe we can isolate the problem 
this way.

Armin


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

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


Mime
View raw message