Reda Benzair wrote:


Hi All
I have problem for the classCastException in
my repository file I use collections all my collection-descriptor use the proxy=true !
[...]
why this error , my repository ? my application ?

It's neither - it's actually your OJB version and the proxy-prefetching feature that has been playing up a bit at times.


I assume you are using a CVS snapshot from around the 1.0RC5 release? Just update from CVS head and a lot of problems using proxies (including yours) have been solved.

(If you can't change your OJB version, try turning off proxy prefetching by changing the proxy-prefetching-limit to a value <=0 in your repository -- typically on the collection-descriptor causing problems.)

--
Martin Kal�n
Curalia AB              Web:  http://www.curalia.se
Orrspelsv�gen 2B        Mail: [EMAIL PROTECTED]
SE-182 79  Stocksund    Tel:  +46-8-410 064 40


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to