Re: eogenerator options
Re: eogenerator options
- Subject: Re: eogenerator options
- From: David LeBer <email@hidden>
- Date: Mon, 09 May 2011 17:32:52 -0400
On 2011-05-09, at 5:00 PM, Michael Gargano wrote:
> One of these days my questions will make sense... I promise! (i think i'm getting better) :)
>
>
> On May 9, 2011, at 4:35 PM, David LeBer wrote:
>
>>
>> On 2011-05-09, at 4:13 PM, Michael Gargano wrote:
>>
>>> two quick(and believe it or not, related) questions:
>>>
>>> 1) Is there a way to have EOGenerator not automatically reverse engineer fields into prototypes? [E.g. if I have a varchar(5) column, to not have EOGenerator rev. eng. this into a boolean prototype]
>>
>> If you have modeled that attribute as a boolean, EOF will treat it as a boolean (the 'boolean' prototype defines a factory class for EOF to use so by the time you get the value it is no longer a varchar). If you don't want it to be a boolean, then you probably shouldn't model it as a one.
>
> I'm reverse engineering a DB here, so I haven't modeled anything.
EOGeneration is the creation of the EO java classes from a model, as such the Velocity EOGenerator is not involved in DB reverse engineering. DB reverse engineering is the generation of a model from your DB, I don't use it so I'm afraid I can offer little assistance there. Perhaps someone else can.
>
>
>>
>>>
>>> 2) Is the list of properties shown http://wiki.objectstyle.org/confluence/display/WO/EOF-Using+EOF-EOGenerator#EOF-UsingEOF-EOGenerator-HowToUseIt the complete and up-to-date list of options to that EOGenerator accepts?
>>
>> Are you using the old standalone EOGenerator tool (described on that page) or the Velocity EOGenerator capabilities built into WOLips?
>
> hmm.... I guess not, I thought they were one in the same. I'm just using what's in WOLips.
The most complete repository of the Velocity EOEGenerator capabilities is probably in the the templates themselves.
<http://webobjects.mdimension.com/wolips/support/eogenerator/Velocity EOGenerator Templates/>
They use the Velocity template language which is documented here:
<http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html>
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
WOWODC 2011 : July 1-2-3, Montreal. http://wowodc.com
_______________________________________________
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