db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Braeuchi <jbraeu...@gmx.ch>
Subject Re: [BUG] when using user defined collection-class - prefetching problem
Date Mon, 12 Jan 2004 19:45:56 GMT
hi all,

well i'm not sure if we need to take care of the colection class here ?
imo a simple getIteratorByQuery would be sufficient.

any ideas ?

jakob


Jakob Braeuchi wrote:

> hi armin,
> 
> this one is fixed now.
> 
> jakob
> 
> Armin Waibel wrote:
> 
>> Hi all,
>>
>> I add new tests to check handling of user defined collection classes 
>> declared in collection-descriptor. One of these new tests fails with 
>> ClassCastException
>>
>> Caused by: java.lang.ClassCastException
>>    at 
>> org.apache.ojb.broker.accesslayer.BasePrefetcher.prefetchRelationship(BasePrefetcher.java:149)

>>
>>    at 
>> org.apache.ojb.broker.core.QueryReferenceBroker.performRetrievalTasks(QueryReferenceBroker.java:317)

>>
>>
>> This bug was reported by Raymonond Barlow the user-list, see thread
>> 'upgrade to RC5, ClassCastException on getCollectionByQuery'
>>
>> Any comments?
>>
>> regards,
>> Armin
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 


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