• 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
Re: Prototype Boolean gives external type as a VARCHAR??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prototype Boolean gives external type as a VARCHAR??


  • Subject: Re: Prototype Boolean gives external type as a VARCHAR??
  • From: Guido Neitzer <email@hidden>
  • Date: Fri, 21 Mar 2008 22:28:57 -0600

On 21.03.2008, at 21:11, Gustavo Pizano wrote:

Hello well im desingin my EOModel FINALLY!!!, and well when I set an attribute the prototype a boolean, the External Type its set to VARCHAR, shouldnt be BOOLEAN or BOOL or something like that?

Depends. The problem is, that databases model booleans differently because in the SQL92 standard there was no "boolean". The varchar(5) that writes "true" or "false" to the database is something that is more readable than 1 and 0 and still works on all database systems.


cug

--
http://www.event-s.net

_______________________________________________
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


  • Follow-Ups:
    • Re: Prototype Boolean gives external type as a VARCHAR??
      • From: Lachlan Deck <email@hidden>
References: 
 >Prototype Boolean gives external type as a VARCHAR?? (From: Gustavo Pizano <email@hidden>)

  • Prev by Date: WOLips Outline
  • Next by Date: Re: db Model and EOModel
  • Previous by thread: Prototype Boolean gives external type as a VARCHAR??
  • Next by thread: Re: Prototype Boolean gives external type as a VARCHAR??
  • Index(es):
    • Date
    • Thread