Re: Frontbase boolean and EO...
Re: Frontbase boolean and EO...
- Subject: Re: Frontbase boolean and EO...
- From: William Hatch <email@hidden>
- Date: Fri, 11 May 2007 17:07:01 -0400
Hold on, of course I just found this:
http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Modeling/
Booleans
Bill Hatch
Macaulay Library
4-2116
On May 11, 2007, at 5:02 PM, William Hatch wrote:
WO 5.3 and FB 4.4.9
Java type is Boolean and db type is BOOLEAN. When initially set,
the attributes will work properly and will save to the database
properly. The stored values look like "true" and "false". However,
on subsequent retrieval, a call like aBooleanAttribute
().booleanValue will always return false. I have nothing set in the
ValueType field in the model. Is there any setting that can use a
java Boolean type that people have found reliable? Be nice not to
have to change the existing code. Thanks.
Bill
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40cornell.edu
This email sent to email@hidden
_______________________________________________
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