Hey Boerries,

I haven't submitted it yet, I'd like to add the other Collection types as
well, so its not official. It requires alot of changes here and there,
because the code base really only addresses RelationCollection at the
minute.

You want a JAR or the actual source code changes?

Glenn.

-----Original Message-----
From: B�rries Ludwig [mailto:[EMAIL PROTECTED]]
Sent: 09 November 2001 09:53
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: AW: [castor-dev] using specific array types with lazy loading


Hi Glen,

yes, thank you, I am interessted.

Best regards

   Boerries

PS: Is that an official one, means will it be part of the next release ?

.......................................

-----Urspr�ngliche Nachricht-----
Von: Russell, Glenn [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 9. November 2001 10:18
An: [EMAIL PROTECTED]
Betreff: Re: [castor-dev] using specific array types with lazy loading


If you are interested, I have a patch for Castor that supports ArrayList for
Lazy loading,

Glenn.
-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED]]
Sent: 08 November 2001 23:18
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] using specific array types with lazy loading


will Castor in the future support any sort of ordering of collection
elements (with arraylist, array, etc), whether it be with lazy loading or
not?

Thanks,
Brett
-----Original Message-----
From: Thomas Yip [mailto:[EMAIL PROTECTED]]
Sent: Friday, 9 November 2001 10:03 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] using specific array types with lazy loading



You can only use java.util.Collection for lazy loading.



Thomas

-----Original Message-----
>From: Brett Porter [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, November 08, 2001 2:35 PM
>To: [EMAIL PROTECTED]
>Subject: [castor-dev] using specific array types with lazy loading
>
>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]
>

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to