• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Booleans, 5.2.3, EOModeler etc.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Solution for WOBuilder problem with session/application/displayGroups
  • Next by Date: Re: Solution for WOBuilder problem with session/application/displayGroups
  • Previous by thread: Re: Solution for WOBuilder problem with session/application/displayGroups
  • Next by thread: how to deploy a WO application on a https server
  • Index(es):
    • Date
    • Thread