Integer i in EOModel creates Long or Integer in EOGeneration

2008-04-08 Thread Johan Henselmans
I have two entities, one with attribute showPublish, one with attribute performancePublish As you can imagine these are booleans, which I make up from an int4 in postgresql. I checked the database, both fields are the same type integer. So far so good. here are the plist descriptions of

Re: Integer i in EOModel creates Long or Integer in EOGeneration

2008-04-08 Thread Mike Schrag
When I use EOGenerate to create a _Show class, and a _Performance class, this results in: If you're using the stock eogenerator templates, they call WOLips' attribute.getJavaClassName(), which is pretty straightforward: String className = getValueClassName();

Re: Integer i in EOModel creates Long or Integer in EOGeneration

2008-04-08 Thread Johan Henselmans
Op 8 apr 2008, om 18:00 heeft Mike Schrag het volgende geschreven: When I use EOGenerate to create a _Show class, and a _Performance class, this results in: If you're using the stock eogenerator templates, they call WOLips' attribute.getJavaClassName(), which is pretty straightforward:

Re: Integer i in EOModel creates Long or Integer in EOGeneration

2008-04-08 Thread Lachlan Deck
On 09/04/2008, at 2:55 AM, Johan Henselmans wrote: Op 8 apr 2008, om 18:00 heeft Mike Schrag het volgende geschreven: All that matters is that your attribute is NSNumber + i. Given the simplicity of this code, I don't see any way this would mess up except that you're not looking at the