Re: Cast Exception with boolean model attribute

2005-12-19 Thread Jonathan Miller
Thanks that solved my problem :)On Dec 19, 2005, at 12:19 AM, Fabrice Pipart wrote:HiWe had the same problem here.Here is where we found our solution : http://david.codeferous.com/?p=107FabriceOn Dec 16, 2005, at 10:39 PM, Jonathan Miller wrote:Hi-I'm trying out OpenBase and it's boolean data type.

Re: Cast Exception with boolean model attribute

2005-12-19 Thread Fabrice Pipart
HiWe had the same problem here.Here is where we found our solution : http://david.codeferous.com/?p=107FabriceOn Dec 16, 2005, at 10:39 PM, 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 ClassCastExceptionThe In

Re: Cast Exception with boolean model attribute

2005-12-18 Thread Ian Joyner
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

Cast Exception with boolean model attribute

2005-12-16 Thread Jonathan Miller
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. J