Re: Definitive solution for the bool bugs of 5.2.3?
Re: Definitive solution for the bool bugs of 5.2.3?
- Subject: Re: Definitive solution for the bool bugs of 5.2.3?
- From: Arturo PĂ©rez <email@hidden>
- Date: Tue, 23 Mar 2004 21:06:36 -0500
On Mar 23, 2004, at 8:45 PM, Greg Hulands wrote:
I have followed the problems that people have been having over the
last couple of weeks with bools in the EOModel. I havee just come
across this problem myself and have tried the solutions people have
offered.
The attributes that have an internal db type of bool had their value
of type 'c' this was causing a class cast exception. I changed it to
'b' as someone suggested, but now I get a JDBCAdaptorException Bad
Byte f. The only thing I can think of is that postgres is returning
'false' to the adaptor and it does not know what to do with it.
The source for the current JDBC driver does not appear to support your
guess. Whenever getBoolean is called it returns a java boolean value.
Internally it looks like the booleans are always returned as "1" and
"0". What version are you using?
Of course, given the oddities with EOF and booleans you might want to
just avoid the whole thing.
----
WO in philadelphia - wanna cheesesteak with that?
Please visit webobjects.meetup.com.
_______________________________________________
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.