Re: ERXMutableArray fields in Entity Modeler

2008-04-21 Thread Jeff Schmitz
On Apr 21, 2008, at 2:48 PM, Chuck Hill wrote: On Apr 18, 2008, at 8:21 PM, Jeff Schmitz wrote: That entirely depends on what you need and how you need to use it. If you give the details, we can guide you to a solution. Well, if you want to get specific, one place I'd like to use it

Re: ERXMutableArray fields in Entity Modeler

2008-04-21 Thread Chuck Hill
On Apr 18, 2008, at 8:21 PM, Jeff Schmitz wrote: That entirely depends on what you need and how you need to use it. If you give the details, we can guide you to a solution. Well, if you want to get specific, one place I'd like to use it would be an array of integers saved with each P

Re: ERXMutableArray fields in Entity Modeler

2008-04-18 Thread Jeff Schmitz
That entirely depends on what you need and how you need to use it. If you give the details, we can guide you to a solution. Well, if you want to get specific, one place I'd like to use it would be an array of integers saved with each Pool object, containing a point value for the games

Re: ERXMutableArray fields in Entity Modeler

2008-04-18 Thread Chuck Hill
On Apr 17, 2008, at 5:06 PM, Jeff Schmitz wrote: On Apr 17, 2008, at 4:58 PM, Chuck Hill wrote: On Apr 17, 2008, at 2:42 PM, Mike Schrag wrote: 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 w

Re: ERXMutableArray fields in Entity Modeler

2008-04-18 Thread Daniele Corti
well, Usually I create a ByteArrayOutputStream, and initilize an ObjectOutputStream with it, then i write out the object (ObjectOutputStream.writeObject(Object o)) I want to convert in bytes and initilize an NSData with them (new NSData(ObjectOutputStream.toByteArray()) ). To read from the DB, I

Re: ERXMutableArray fields in Entity Modeler

2008-04-18 Thread Jeff Schmitz
I received one suggestion to define a serializable class to contain the array and then serialize the array objects to the NSData/BLOB type, instead of ERXMutableArray. I may give that a try. Is that a viable approach? Any examples out there of doing this? Thanks, Jeff On Apr 18, 2008,

Re: ERXMutableArray fields in Entity Modeler

2008-04-17 Thread Denis Frolov
Hi, I had a similar problem with MySQL (mysql-connector-java-5.0.4-bin.jar is the latest one I've tried) and mutableDictionary. There were two solutions that worked for me: 1. Change externalType to TEXT in model while leaving BLOB in the database (i.e. generate sql with TEXT and change type to B

Re: ERXMutableArray fields in Entity Modeler

2008-04-17 Thread Guido Neitzer
On 17.04.2008, at 18:06, Jeff Schmitz wrote: So, would the recommended method (i.e simplest method, you know us Americans, always looking to take shortcuts) be to create a new table and a one to many relationship? My array really doesn't need to be mutable (the size is static and known),

Re: ERXMutableArray fields in Entity Modeler

2008-04-17 Thread Jeff Schmitz
On Apr 17, 2008, at 4:58 PM, Chuck Hill wrote: On Apr 17, 2008, at 2:42 PM, Mike Schrag wrote: 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

Re: ERXMutableArray fields in Entity Modeler

2008-04-17 Thread Anjo Krank
Uhm, where was the part that I traded anything? Am 17.04.2008 um 23:58 schrieb Chuck Hill: Europeans, always so willing to trade not being #1 for having an actual life! ___ Do not post admin requests to the list. They will be ignored. Webobjects-de

Re: ERXMutableArray fields in Entity Modeler

2008-04-17 Thread Chuck Hill
On Apr 17, 2008, at 2:42 PM, Mike Schrag wrote: 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 dir

RE: ERXMutableArray fields in Entity Modeler

2008-04-17 Thread ray
Original Message Subject: Re: ERXMutableArray fields in Entity Modeler From: Jeff Schmitz <[EMAIL PROTECTED]> Date: Thu, April 17, 2008 2:34 pm To: [EMAIL PROTECTED] Cc: webobjects-dev@lists.apple.com Hi Ray,   Thanks for your response, and yes, I think you understand.

Re: ERXMutableArray fields in Entity Modeler

2008-04-17 Thread Mike Schrag
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 wha

Re: ERXMutableArray fields in Entity Modeler

2008-04-17 Thread Jeff Schmitz
that's what ERXMutableArray class was for. If not that, then what is it usually used for? Thanks, Jeff On Apr 17, 2008, at 3:35 PM, [EMAIL PROTECTED] wrote: Original Message Subject: ERXMutableArray fields in Entity Modeler From: Jeff Schmitz <[EMAIL PROTECTE