Datetime and webObkects 5.3.1
Datetime and webObkects 5.3.1
- Subject: Datetime and webObkects 5.3.1
- From: Nilton Lessa <email@hidden>
- Date: Wed, 19 Jul 2006 12:59:50 -0300
Hi,
When I upgraded my apps to WebObjects 5.3.1/java 1.5 I ran in problems regarding datetime columns. In EOModeler they are marked as column type "T". I am using Openbase 9.1.15
Now the SQL generated is wrong, it seems it's generating a float number.
For example:
E' in ', 1.748844E+8, 1904, 0, ''] insert error: comma expected but not found in data. SQL: INSERT INTO Objeto(objeto_id, escolhidoPorEditor, equipe, publico, dataEntrada, dono_id, apenasReferencial, sumario, tipo, contador, nome, disponivelDownload) VALUES (23309, NULL, 1, 1,
1.748844E+8, 1904, 0, 'A FUNDA«?O ALEXANDRE DE GUSM?O - FUNAG, fundaÁ?o p?blica vinculada ao MinistÈrio das RelaÁ?es Exteriores - MRE, ..."
I know that if I change the type to "D" the error disappears but "D" and "T" have different behaviour.... What could be happening? Any fix or workaround? Is this problem specific to Openbase or related to Webobejcts 5.3.1 or Java 1.5?
Bests,
Nilton Lessa
Moleque de Idéias Educação e Tecnologia Ltda
e-mail: email@hidden
fone: 55-21-27047356
_______________________________________________
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