Re: ERXMutableArray fields in Entity Modeler
Re: ERXMutableArray fields in Entity Modeler
- Subject: Re: ERXMutableArray fields in Entity Modeler
- From: Mike Schrag <email@hidden>
- Date: Thu, 17 Apr 2008 17:42:17 -0400
Thanks for your response, and yes, I think you understand. I was
hoping to not have to create a new table with just a boolean column
along with a relationship and that I could somehow just store an
array in one of the attribute fields directly for the same effect.
I assumed that's what ERXMutableArray class was for. If not that,
then what is it usually used for?
I think it IS designed for that actually ... I would need to see the
full stack trace of that exception to be able to diagnose further why
you're getting a ClassCast, though. I believe you also have to
replace the entire array when it changes (meaning
setArrayOfBooleans(arrayOfChangedBooleans)) -- I don't think EOF likes
mutable values, but maybe there's some trickery inside of Wonder
specifically for ERXMutableArray, I'm not sure. I've never used this
class though ... Maybe Anjo knows, but his weekend apparently starts
on Thursday (something about Americans being #1, and Germans not ... I
don't recall precisely ;) ).
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden