Hi,

I have a Class A with 1:n relation to Class B. Collection descriptor is with proxy=true.
Collection of class A have more objects than prefetching limit. During prefetching of class B I got ClassCastException in PBCollectionProxyListener in method :


protected void addThisListenerTo(Object listenedObject)
       {
           _listenedCollection = (CollectionProxy) listenedObject;
           _listenedCollection.addListener(this);
       }

It is normal, because listenedObject is one obejct of owners (see reference to this method:
addThisListenerTo(owners.get(0));.
)


Could you help me. Maybe there is other reason, maybe I am somewhere wrong.

Thanks in advance

Tadeus Garsva




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



Reply via email to