Re: Prototype Boolean gives external type as a VARCHAR??
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