Since EO does not have an equivalent boolean type (strange since it's there in Java), I just use Char (1) and put in 'T' or 'F' in the table with functions 'f: char (1) -> boolean' to do the cast (Casts are just functions, but like many things, C syntax obscures this fact). Seems to be the recommended way to do things in WO (Practical WO p42).

On 17/12/2005, at 8:39 AM, Jonathan Miller wrote:

Hi-

I'm trying out OpenBase and it's boolean data type. When I go to display the data in the entity I get a java ClassCastException

The Internal Data Type for the attribute is specified as a Double with a Value type of 'c'

Is there any gotchas I should be aware of?

Thanks in advance.

Jon

P.S. WO 5.3.1 && Openbase 9.1
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/ian.joyner% 40sportstec.com

This email sent to [EMAIL PROTECTED]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to