• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERXMutableArray fields in Entity Modeler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: ERXMutableArray fields in Entity Modeler
      • From: Chuck Hill <email@hidden>
References: 
 >RE: ERXMutableArray fields in Entity Modeler (From: email@hidden)
 >Re: ERXMutableArray fields in Entity Modeler (From: Jeff Schmitz <email@hidden>)

  • Prev by Date: Re: I wonder if you have seen this before: exec: -X: invalid option
  • Next by Date: Re: I wonder if you have seen this before: exec: -X: invalid option
  • Previous by thread: Re: ERXMutableArray fields in Entity Modeler
  • Next by thread: Re: ERXMutableArray fields in Entity Modeler
  • Index(es):
    • Date
    • Thread