"boolean" in erp = varchar, not boolean, "intBoolean" in erp = number,
"flag" = probably what OB is calling "boolean", but you'd have to
check if the OB variant of erp declares this properly.
ms
On Mar 8, 2009, at 3:06 AM, Ricardo J. Parada wrote:
Hi All,
There seems to be something wrong with booleans when using OpenBase
and ERPrototypes.
In OpenBaseManager the column type for my column says boolean:
<Picture 2.png>
In openisql (command line) I can query like this:
select count(*) from cliente where suspendido = true
of like this:
select count(*) from cliente where suspendido = 1
In entity modeler, if I configure my attribute using the boolean
prototype from ERPrototypes as shown below, then the queries don't
return the right number of rows. The update statements generated by
EOF don't work either (even though they look right).
If I model my attribute as an integer then the queries work okay and
the update statements issued by EOF work too. By I don't like
having an Integer in my accessor methods in my EO for a boolean
column. I want to use boolean.
Looking at the screenshot below, does this look like the boolean
prototype is setting the fields correctly for a boolean column in
OpenBase? Anybody wants to guess? Anybody using booleans in
OpenBase and ERPrototypes?
<Picture 1.png>
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San
Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
-Strategies to boost innovation and cut costs with open source
participation
-Receive a $600 discount off the registration fee with the source
code: SFAD
http://p.sf.net/sfu/XcvMzF8H_______________________________________________
Wonder-disc mailing list
wonder-d...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com