Prototypes primer needed
Prototypes primer needed
- Subject: Prototypes primer needed
- From: "SigurĂ°ur E. Vilhelmsson" <email@hidden>
- Date: Sat, 11 Aug 2007 23:52:32 +0000
In setting up my EOModel, I'd like to use prototypes. However, as
always, I am a bit lost in getting them to work.
In my connection configuration I have selected the prototype
EOJDBCFrontBasePrototypes. After creating an entity, I create my
attributes specifying the prototype from the dropdown menu (i.e.
varchar1000 etc).
However, the classes generated don't incorporate the data type
specified in the model, i.e. instead of:
public string answer() {
return (String)storedValueForKey("answer");
}
I get
public answer() {
return ()storedValueForKey("answer");
}
What am I missing here?
And on the subject, how do I go about adding my own prototypes to the model?
Im using latest stable Eclipse and WOLips and a WOnderApplication.
Best regards,
Siggi
_______________________________________________
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