Hi,
I get this exception:
java.lang.ClassCastException: org.exolab.castor.persist.RelationCollection
when lazy loading:
<field name="featuredProducts" type="au.com.f2.shopping.product.featured.FeaturedProduct" collection="arraylist" lazy="true">
and
Collection featuredProducts = new ArrayList();
and I try to:
ArrayList list = (ArrayList) featuredProducts;
If I turn off lazy loading, it works.
Shouldn't lazy loading mean you get ArrayListRelationCollection that extends RelationCollection and implements ArrayList (or something similar)?
This is with Castor 0.9.3
Thanks,
Brett
~*~*~*~*~*~*~
Brett Porter - Web Developer
f2 Network ~ everything essential
Ph: +61 2 8596 4437
Email: [EMAIL PROTECTED]
