Booleans, 5.2.3, EOModeler etc.
Booleans, 5.2.3, EOModeler etc.
- Subject: Booleans, 5.2.3, EOModeler etc.
- From: James Cicenia <email@hidden>
- Date: Thu, 18 Mar 2004 07:58:28 -0600
Hello -
for some reason 5.2.3 broke my booleans and yet fixed them.....
Background: I am running mySQL and modeled my booleans
in EOModeler as
Number, BOOL, c
EO Modeler than creates the SQL which in mySQL turns the
attribute into a tinyint(1)
Then I use EOGenerator to make my Gap Pattern Classes. It
creates the methods with a Number signature. I used to then
create shadow classes to turn these into booleans where necessary.
Well, after 5.2.3 those methods gave me ClassCastExceptions. So,
I turned them all by hand into Booleans. This worked and had the
effect such that I could use them directly in WOBuilder! That is nice.
However, how do I set up EOModeler and EOGenerator to generate
the boolean attributes as Boolean and not Number?
-James Cicenia
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.