Re: Latest CVS/CollectionProxy

2004-04-07 Thread edson . richter
The problem was caused by a setXXX(List l) where the programmer is not storing a reference to the RemovalAwareList, but creating a new list with the contents. Then, when using getXXX(), the returned list isn't the RemovalAwareList but a java.util.ArrayList. I think this is not correct, but this i

Latest CVS/CollectionProxy

2004-04-07 Thread edson . richter
Since yesterday (I've downloaded CVS HEAD sources and compiled), I can't get a collection-descriptor using class="org...RemovalAwareList" work correctly with proxy="dynamic". The stack trace is: java.lang.ClassCastException at org.apache.ojb.broker.core.QueryReferenceBroker$PBCollectionP