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