• 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
Definitive solution for the bool bugs of 5.2.3?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Definitive solution for the bool bugs of 5.2.3?


  • Subject: Definitive solution for the bool bugs of 5.2.3?
  • From: Greg Hulands <email@hidden>
  • Date: Wed, 24 Mar 2004 11:45:31 +1000

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.


Is there a definitive solution to this problem, or should I just change to ints and use 0 and 1 as false true values?


Any help or discussion is greatly appreciated

Regards,
Greg
_______________________________________________
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: Off Topic : XCode, Java and Code Completion
  • Next by Date: Re: Definitive solution for the bool bugs of 5.2.3?
  • Previous by thread: Re: Off Topic : XCode, Java and Code Completion
  • Next by thread: Re: Definitive solution for the bool bugs of 5.2.3?
  • Index(es):
    • Date
    • Thread