Re: Integer i in EOModel creates Long or Integer in EOGeneration
Re: Integer i in EOModel creates Long or Integer in EOGeneration
- Subject: Re: Integer i in EOModel creates Long or Integer in EOGeneration
- From: Mike Schrag <email@hidden>
- Date: Tue, 8 Apr 2008 12:00:14 -0400
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(); if ("Number".equals(className) || "NSNumber".equals(className)) { ...
} else if ("i".equals(valueType)) { className = "Integer"; ...
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 model you think you're looking at, you're not looking at the class you think you're looking at, or you're not using the velocity templates you think you're using.
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