Fwd: [OB-Dev] Annoying BigDecimal problems in 5.2
Fwd: [OB-Dev] Annoying BigDecimal problems in 5.2
- Subject: Fwd: [OB-Dev] Annoying BigDecimal problems in 5.2
- From: Sébastien Rottiers <email@hidden>
- Date: Mon, 31 Mar 2003 14:18:13 +0200
Dibut du message riexpidii :
De: steve stout <email@hidden>
Date: Ven 28 mar 2003 08:20:06 Europe/Paris
@: email@hidden
Objet: Rip : [OB-Dev] Annoying BigDecimal problems in 5.2
Ripondre `: email@hidden
I'm the one that posted the solution... unfortunately it only works if
you fetch the EO's _as_ EO's. Raw rows are totally screwed up and I
would suggest that you submit a bug report to Apple about it. (Unless
it's all Scott's fault.. :-)
//steve
On Thursday, March 27, 2003, at 08:14 AM, Sbastien Rottiers wrote:
It doesn't work for me. I must specify that theses columns are
defined in
"longlong". a EOUtilities.rawRowsForSQL return some-thing like that :
({NUMONGLET = 1.00000000000000000000; DROITS = 1; })
NUMONGLET is as longlong in the table --> return a wrong value
(1.00000000000000000000)
DROITS is as int in the table --> return a correct value
in WO 5.1 it work fine since long months !
Sibastien
Le mardi, 11 mar 2003, ` 14:50 Europe/Paris, Scott Keith a icrit :
I think there was a solution posted to the list recently.
> What seems to work for me is setting the Value Type in EOModeler
to 'd' instead of 'B'. You can leave the Value Class as BigDecimal.
- Scott
On Tuesday, March 11, 2003, at 06:50 AM, Sibastien Rottiers wrote:
Scott,
I want to port my app in WO 5.2 and i have the same problem. (OB
7.0.11).
Have you a solution to this ?
Thank you
Sibastien
Le vendredi, 24 jan 2003, ` 21:22 Europe/Paris, Scott Keith a icrit
:
Steve:
I received a response from Apple (see below). Just because they
haven't heard of it doesn't mean it isn't a bug. If you could
answer the questions they ask and provide me with an example model
& application project (offlist please) I will forward it to them
and get their response.
Thanks.
- Scott
Begin forwarded message:
Not off hand. Is he using the 5.2 OpenBasePlugin or something
custom ? Is his database schema correctly set (i.e. longs are
longs, not money or float or longlong) ? Does his eomodel
specify BigDecimal for the value class ?
Unfortunately, as far as I've heard, it really is just him, so I
have to guess he's doing something out of tune.
_______________________________________________
OpenBase Developer Mailing List
email@hidden
http://www.openbase.com
Developer List Archive
http://www.openbase.com/archive
Developer List Administration
http://www.openbase.com/lists
_______________________________________________
OpenBase Developer Mailing List
email@hidden
http://www.openbase.com
Developer List Archive
http://www.openbase.com/archive
Developer List Administration
http://www.openbase.com/lists
_______________________________________________
OpenBase Developer Mailing List
email@hidden
http://www.openbase.com
Developer List Archive
http://www.openbase.com/archive
Developer List Administration
http://www.openbase.com/lists
_______________________________________________
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.