EOModelPrototype CastClass Exception
EOModelPrototype CastClass Exception
- Subject: EOModelPrototype CastClass Exception
- From: James Cicenia <email@hidden>
- Date: Sat, 18 Dec 2004 10:44:52 -0600
Hello -
I have an eogenerator template that creates code for Booleans:
public Boolean canAdminSite() {
return new
Boolean(((Integer)storedValueForKey("canAdminSite")).intValue()==1);
}
And my eomodel states:
ValueClass = Number
ExternalType = INT
ValueType = i
ValueClass = NSNumber
Why would the above code cause a class cast exception?
-James
_______________________________________________
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